diff MoinMoin/config/multiconfig.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 41669a7a60ad
children ec855cfb2561 388204baf00f
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Fri Aug 03 11:44:46 2007 +0200
+++ b/MoinMoin/config/multiconfig.py	Fri Aug 03 13:30:42 2007 +0200
@@ -21,6 +21,7 @@
 from MoinMoin import session
 from MoinMoin.packages import packLine
 from MoinMoin.security import AccessControlList
+from MoinMoin.support.python_compatibility import set
 
 _url_re_cache = None
 _farmconfig_mtime = None
@@ -444,10 +445,6 @@
             @return: None if there is no problem with the password,
                      some string with an error msg, if the password is problematic.
         """
-        try:
-            set
-        except:
-            from sets import Set as set
 
         try:
             # in any case, do a very simple built-in check to avoid the worst passwords