commit | fc4c24c142bc86e457fe828c86defd1d7eceed65 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sun Jul 28 11:31:33 2002 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sun Jul 28 11:31:33 2002 +0000 |
tree | 82aeb9de9a7830de9a380845cbaa223591b67250 | |
parent | e567114e472470554adda63ab39ca0850d51fd66 [diff] |
Patch #571603: Refer to encodings package explicitly.
diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py index 827db35..ca59721 100644 --- a/Lib/encodings/__init__.py +++ b/Lib/encodings/__init__.py
@@ -59,7 +59,7 @@ 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: