changed in custom_import
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.2.1 (2012-11-05 12:39:09) stable
|
||||
Version 2.2.1 (2012-11-06 09:46:56) stable
|
||||
|
||||
@@ -16,7 +16,7 @@ INVALID_MODULES = set(('', 'gluon', 'applications', 'custom_import'))
|
||||
|
||||
|
||||
def custom_import_install():
|
||||
if __builtin__.__import__ != custom_importer:
|
||||
if __builtin__.__import__ == NATIVE_IMPORTER:
|
||||
INVALID_MODULES.update(sys.modules.keys())
|
||||
__builtin__.__import__ = custom_importer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user