From 642428d15d3ab7a8157fd735e3164eb30f5a4074 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 14 May 2011 02:09:23 -0400 Subject: [PATCH] clarify that we're displaying idents here --- irc/commands/tasks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/irc/commands/tasks.py b/irc/commands/tasks.py index b606e97..5a191ad 100644 --- a/irc/commands/tasks.py +++ b/irc/commands/tasks.py @@ -57,12 +57,12 @@ class Tasks(BaseCommand): tname = thread.name if tname == "MainThread": tname = self.get_main_thread_name() - normal_threads.append("\x0302{}\x0301 (as main thread, {})".format(tname, thread.ident)) + normal_threads.append("\x0302{}\x0301 (as main thread, id {})".format(tname, thread.ident)) elif tname in ["irc-frontend", "irc-watcher", "wiki-scheduler"]: - normal_threads.append("\x0302{}\x0301 ({})".format(tname, thread.ident)) + normal_threads.append("\x0302{}\x0301 (id {})".format(tname, thread.ident)) else: task_thread_num += 1 - task_threads.append("\x0302{}\x0301 ({})".format(tname, thread.ident)) + task_threads.append("\x0302{}\x0301 (id {})".format(tname, thread.ident)) if task_threads: msg = "\x02{}\x0F threads active: {}, and \x02{}\x0F task threads: {}.".format(len(threads), ', '.join(normal_threads), task_thread_num, ', '.join(task_threads))