mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Slight optimization.
This commit is contained in:
parent
4e2be3a6a3
commit
7afea527fa
@ -212,10 +212,11 @@ if not hasattr(Exception, '_original__init__'):
|
|||||||
self.__revision__ = getattr(callerModule, '__revision__', None)
|
self.__revision__ = getattr(callerModule, '__revision__', None)
|
||||||
self._original__init__(*args, **kwargs)
|
self._original__init__(*args, **kwargs)
|
||||||
Exception.__init__ = __init__
|
Exception.__init__ = __init__
|
||||||
|
|
||||||
|
|
||||||
|
g = globals()
|
||||||
for name in exported:
|
for name in exported:
|
||||||
__builtins__[name] = globals()[name]
|
__builtins__[name] = g[name]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user