Changed to use a super.

This commit is contained in:
Jeremy Fincher 2004-09-16 10:54:59 +00:00
parent b0c00fb82f
commit a11654dcdd

View File

@ -258,7 +258,8 @@ class MetaFirewall(type):
except: except:
errorHandler = None errorHandler = None
dict[attr] = firewall(dict[attr], errorHandler) dict[attr] = firewall(dict[attr], errorHandler)
return type.__new__(cls, name, bases, dict) return super(MetaFirewall, cls).__new__(cls, name, bases, dict)
#return type.__new__(cls, name, bases, dict)
class ValidLogLevel(registry.String): class ValidLogLevel(registry.String):