From 87d3e9a74af90ce0219cb113c3e008f426eb3443 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 14 May 2011 14:38:07 -0400 Subject: [PATCH] more nitpicking --- irc/command_handler.py | 2 +- irc/commands/tasks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/irc/command_handler.py b/irc/command_handler.py index 958642d..b187185 100644 --- a/irc/command_handler.py +++ b/irc/command_handler.py @@ -61,6 +61,6 @@ def check(hook, data): try: command.process(data) except: - print "Error executing command {}:".format(data.command) + print "Error executing command '{}':".format(data.command) traceback.print_exc() # catch exceptions and print them break diff --git a/irc/commands/tasks.py b/irc/commands/tasks.py index 325f384..d1903bc 100644 --- a/irc/commands/tasks.py +++ b/irc/commands/tasks.py @@ -85,7 +85,7 @@ class Tasks(BaseCommand): elif len(ids) == 1: tasklist.append("\x0302{}\x0301 (\x02active\x0F as id {})".format(task, ids[0])) else: - tasklist.append("\x0302{}\x0301 (\x02active\x0F as ids {})".format(task, ' ,'.join(ids))) + tasklist.append("\x0302{}\x0301 (\x02active\x0F as ids {})".format(task, ', '.join(ids))) tasklist = ", ".join(tasklist)