aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorbwarsaw <>2004-02-22 22:38:16 +0000
committerbwarsaw <>2004-02-22 22:38:16 +0000
commit5cbfa62dc989e628e537204370e5690015bea58f (patch)
tree030e4c7ff08f3a3e9a5d4229a3d4b842fba45fb5 /Mailman
parent3e1b752e414942c07eb5ffbee72a60ee4a54b854 (diff)
downloadmailman2-5cbfa62dc989e628e537204370e5690015bea58f.tar.gz
mailman2-5cbfa62dc989e628e537204370e5690015bea58f.tar.xz
mailman2-5cbfa62dc989e628e537204370e5690015bea58f.zip
__repr__(): Added for better logging.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Queue/Runner.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mailman/Queue/Runner.py b/Mailman/Queue/Runner.py
index 8b5bddcb..61c902d5 100644
--- a/Mailman/Queue/Runner.py
+++ b/Mailman/Queue/Runner.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2004 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -52,6 +52,9 @@ class Runner:
self._shunt = Switchboard(mm_cfg.SHUNTQUEUE_DIR)
self._stop = False
+ def __repr__(self):
+ return '<%s at %s>' % (self.__class__.__name__, id(self))
+
def stop(self):
self._stop = True