[Zodb-checkins] CVS: StandaloneZODB/ZEO - trigger.py:1.1.8.2
Jeremy Hylton
jeremy@zope.com
Wed, 8 Aug 2001 12:28:21 -0400
Update of /cvs-repository/StandaloneZODB/ZEO
In directory cvs.zope.org:/tmp/cvs-serv24366
Modified Files:
Tag: zeo-1_0-branch
trigger.py
Log Message:
Apply long-line fixes in win32 code branch.
Add XXX comment about need to refactor to avoid code duplication.
=== StandaloneZODB/ZEO/trigger.py 1.1.8.1 => 1.1.8.2 ===
else:
+ # XXX Should define a base class that has the common methods and
+ # then put the platform-specific in a subclass named trigger.
+
# win32-safe version
class trigger (asyncore.dispatcher):
@@ -246,12 +249,9 @@
try:
thunk()
except:
- (file, fun, line), t, v, tbinfo = asyncore.compact_traceback()
- print 'exception in trigger thunk: (%s:%s %s)' % (t, v, tbinfo)
+ nil, t, v, tbinfo = asyncore.compact_traceback()
+ print ('exception in trigger thunk:'
+ ' (%s:%s %s)' % (t, v, tbinfo))
self.thunks = []
finally:
self.lock.release()
-
-
-
-