[py-svn] r45547 - py/trunk/py/execnet

hpk at codespeak.net hpk at codespeak.net
Wed Aug 8 12:38:23 CEST 2007


Author: hpk
Date: Wed Aug  8 12:38:22 2007
New Revision: 45547

Modified:
   py/trunk/py/execnet/gateway.py
Log:
remove global


Modified: py/trunk/py/execnet/gateway.py
==============================================================================
--- py/trunk/py/execnet/gateway.py	(original)
+++ py/trunk/py/execnet/gateway.py	Wed Aug  8 12:38:22 2007
@@ -27,11 +27,9 @@
 debug = 0 # open('/tmp/execnet-debug-%d' % os.getpid()  , 'wa')
 
 sysex = (KeyboardInterrupt, SystemExit)
-class StopExecLoop(Exception):
-    pass
 
 class Gateway(object):
-    _StopExecLoop = StopExecLoop
+    class _StopExecLoop(Exception): pass
     _ThreadOut = ThreadOut 
     remoteaddress = ""
     _requestqueue = None


More information about the py-svn mailing list