Issue #12780: Merged fix from 3.2.

This commit is contained in:
Vinay Sajip 2011-08-19 07:15:45 +01:00
commit 444be16136
1 changed files with 0 additions and 2 deletions

View File

@ -60,8 +60,6 @@ __date__ = "07 February 2010"
# #
if hasattr(sys, 'frozen'): #support for py2exe if hasattr(sys, 'frozen'): #support for py2exe
_srcfile = "logging%s__init__%s" % (os.sep, __file__[-4:]) _srcfile = "logging%s__init__%s" % (os.sep, __file__[-4:])
elif __file__[-4:].lower() in ['.pyc', '.pyo']:
_srcfile = __file__[:-4] + '.py'
else: else:
_srcfile = __file__ _srcfile = __file__
_srcfile = os.path.normcase(_srcfile) _srcfile = os.path.normcase(_srcfile)