[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/twisted/main.py Fixed bug introduced by a recent variable renaming.

Jim Fulton jim at zope.com
Sat Dec 17 10:51:16 EST 2005


Log message for revision 40848:
  Fixed bug introduced by a recent variable renaming.
  

Changed:
  U   Zope3/trunk/src/zope/app/twisted/main.py

-=-
Modified: Zope3/trunk/src/zope/app/twisted/main.py
===================================================================
--- Zope3/trunk/src/zope/app/twisted/main.py	2005-12-17 13:35:15 UTC (rev 40847)
+++ Zope3/trunk/src/zope/app/twisted/main.py	2005-12-17 15:51:16 UTC (rev 40848)
@@ -82,8 +82,8 @@
     # Start the ThreadedAsync main loop.  This will either end immediately,
     # or keep going if ZEO is around.  We don't actually care which.
     def failed():
-        global RESTART_ON_SHUTDOWN
-        RESTART_ON_SHUTDOWN = True
+        global should_restart
+        should_restart = True
         reactor.callFromThread(reactor.stop)
     reactor.callWhenRunning(asyncore_main_loop.run_in_thread, failed)
 



More information about the Zope3-Checkins mailing list