changed in custom_import

This commit is contained in:
mdipierro
2012-11-06 09:47:02 -06:00
parent ad2b332fa0
commit e1bcd86e5e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.2.1 (2012-11-05 12:39:09) stable
Version 2.2.1 (2012-11-06 09:46:56) stable
+1 -1
View File
@@ -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