Update of /cvsroot/mailman/mailman/Mailman/Queue
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15521
Modified Files:
Tag: Release_2_1-maint
Runner.py
Log Message:
__repr__(): Added for better logging.
Index: Runner.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Queue/Runner.py,v
retrieving revision 2.25.2.1
retrieving revision 2.25.2.2
diff -u -d -r2.25.2.1 -r2.25.2.2
--- Runner.py 22 Sep 2003 02:34:11 -0000 2.25.2.1
+++ Runner.py 22 Feb 2004 22:38:16 -0000 2.25.2.2
@@ -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 @@
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
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org