mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Changed to use a super.
This commit is contained in:
parent
b0c00fb82f
commit
a11654dcdd
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user