Commit 7fdc88a0 authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #571603: Refer to encodings package explicitly.

parent a4687334
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment