diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-08-19 06:15:45 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-08-19 06:15:45 (GMT) |
commit | 444be161366733aebf6a1ec04c76e62e227f9cba (patch) | |
tree | ee393e91122e3e7abc27a016cea09993db8fa374 /Lib | |
parent | 17e92cf9a6a318feba033859ec518d917a3a11ef (diff) | |
parent | 2da23caec0c4922bc509754e3e4bc90b9f26add3 (diff) | |
download | cpython-444be161366733aebf6a1ec04c76e62e227f9cba.zip cpython-444be161366733aebf6a1ec04c76e62e227f9cba.tar.gz cpython-444be161366733aebf6a1ec04c76e62e227f9cba.tar.bz2 |
Issue #12780: Merged fix from 3.2.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/logging/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index 7efbc45..8406df3 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -60,8 +60,6 @@ __date__ = "07 February 2010" # 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) |