mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Issue #12780: Merged fix from 3.2.
This commit is contained in:
commit
444be16136
1 changed files with 0 additions and 2 deletions
|
|
@ -60,8 +60,6 @@
|
|||
#
|
||||
if hasattr(sys, 'frozen'): #support for py2exe
|
||||
_srcfile = "logging%s__init__%s" % (os.sep, __file__[-4:])
|
||||
elif __file__[-4:].lower() in ['.pyc', '.pyo']:
|
||||
_srcfile = __file__[:-4] + '.py'
|
||||
else:
|
||||
_srcfile = __file__
|
||||
_srcfile = os.path.normcase(_srcfile)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue