general: cleanup

This commit is contained in:
Dylan Araps 2017-06-30 15:27:51 +10:00
parent c8f76a5604
commit 1f531160d6
3 changed files with 1 additions and 3 deletions

View File

@ -64,7 +64,7 @@ def process_args(args):
exit(1)
if args.i and args.f:
print("error: conflicting arguments -i and -f.\n"
print("error: Conflicting arguments -i and -f.\n"
" Refer to \"wal -h\" for more info.")
exit(1)

View File

@ -29,7 +29,6 @@ def template(colors, input_file, output_dir):
def export_all_templates(colors, template_dir=None, output_dir=CACHE_DIR):
"""Export all template files."""
# Add the template dir to module path.
template_dir = template_dir or \
os.path.join(os.path.dirname(__file__), "templates")

View File

@ -20,7 +20,6 @@ def set_color(index, color):
def send_sequences(colors, vte):
"""Send colors to all open terminals."""
# Colors 0-15.
sequences = [set_color(num, color)
for num, color in enumerate(colors["colors"].values())]