Skip to content

Commit

Permalink
Patch #571603: Refer to encodings package explicitly.
Browse files Browse the repository at this point in the history
  • Loading branch information
loewis committed Jul 28, 2002
1 parent e567114 commit fc4c24c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/encodings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fc4c24c

Please sign in to comment.