[Python-checkins] python/dist/src/Lib/encodings __init__.py,1.6,1.6.12.1
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sun, 28 Jul 2002 04:33:20 -0700
Update of /cvsroot/python/python/dist/src/Lib/encodings
In directory usw-pr-cvs1:/tmp/cvs-serv32638/Lib/encodings
Modified Files:
Tag: release22-maint
__init__.py
Log Message:
Patch #571603: Refer to encodings package explicitly.
Index: __init__.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/encodings/__init__.py,v
retrieving revision 1.6
retrieving revision 1.6.12.1
diff -C2 -d -r1.6 -r1.6.12.1
*** __init__.py 19 Sep 2001 11:52:07 -0000 1.6
--- __init__.py 28 Jul 2002 11:33:18 -0000 1.6.12.1
***************
*** 49,53 ****
modname = aliases.aliases.get(modname,modname)
try:
! mod = __import__(modname,globals(),locals(),'*')
except ImportError,why:
# cache misses
--- 49,53 ----
modname = aliases.aliases.get(modname,modname)
try:
! mod = __import__('encodings.'+modname,globals(),locals(),'*')
except ImportError,why:
# cache misses