Patch #571603: Refer to encodings package explicitly.

This commit is contained in:
Martin v. Löwis 2002-07-28 11:31:33 +00:00
parent e567114e47
commit fc4c24c142
1 changed files with 1 additions and 1 deletions

View File

@ -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: