Update of /cvsroot/mailman/mailman3/src/mailman
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28974/src/mailman
Modified Files:
startup.py
Log Message:
startup(): Move the atexit handler setting into here, so that it only runs if
the startup() call finishes.
Index: startup.py
===================================================================
RCS file: /cvsroot/mailman/mailman3/src/mailman/startup.py,v
retrieving revision 3.0
retrieving revision 3.1
diff -u -d -r3.0 -r3.1
--- startup.py 29 Mar 2004 05:18:50 -0000 3.0
+++ startup.py 20 Apr 2004 04:14:18 -0000 3.1
@@ -35,12 +35,10 @@
_shutdowns.append(pkg)
# Shut things down in reverse order
_shutdowns.reverse()
+ atexit.register(shutdown)
def shutdown():
for m in _shutdowns:
m.shutdown()
-
-
-atexit.register(shutdown)
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org