From e1bcd86e5e8685263827e448e7242bb29d7e439e Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 6 Nov 2012 09:47:02 -0600 Subject: [PATCH] changed in custom_import --- VERSION | 2 +- gluon/custom_import.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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