diff --git a/VERSION b/VERSION index 8e24ad95..58e8cabc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.2.1 (2012-11-05 12:39:09) stable +Version 2.2.1 (2012-11-06 09:46:56) stable diff --git a/gluon/custom_import.py b/gluon/custom_import.py index 19d7703a..0233e331 100644 --- a/gluon/custom_import.py +++ b/gluon/custom_import.py @@ -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