From fc4c24c142bc86e457fe828c86defd1d7eceed65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 28 Jul 2002 11:31:33 +0000 Subject: [PATCH] Patch #571603: Refer to encodings package explicitly. --- Lib/encodings/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py index 827db352142..ca597212225 100644 --- a/Lib/encodings/__init__.py +++ b/Lib/encodings/__init__.py @@ -59,7 +59,7 @@ def search_function(encoding): import aliases modname = aliases.aliases.get(modname, modname) try: - mod = __import__(modname, globals(), locals(), _import_tail) + mod = __import__('encodings.' + modname, globals(), locals(), _import_tail) except ImportError,why: mod = None if mod is None: