diff MoinMoin/util/thread_monitor.py @ 2595:5e7b45489430

moved python2.3/2.4 compatibility code to MoinMoin.support.python_compatibility (thanks to Heinrich Wendel)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 03 Aug 2007 13:30:42 +0200
parents 01f05e74aa9c
children 500f68d3e2fd
line wrap: on
line diff
--- a/MoinMoin/util/thread_monitor.py	Fri Aug 03 11:44:46 2007 +0200
+++ b/MoinMoin/util/thread_monitor.py	Fri Aug 03 13:30:42 2007 +0200
@@ -23,10 +23,8 @@
 from time import sleep
 from StringIO import StringIO
 
-try:
-    set
-except:
-    from sets import Set as set
+from MoinMoin.support.python_compatibility import set
+
 
 class AbstractMonitor(object):
     def activate_hook(self):