summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2010-10-10 20:36:04 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2010-10-10 20:36:04 (GMT)
commit1c71b2af1ac8fbba22d5491da9f89e7ef184ccbc (patch)
treed8af0aee29bf2b357b7278288fa90b131f2e6c01 /Lib
parent7d03c7da194a2fbc4ffe598f74feb369c0c931d7 (diff)
downloadcpython-1c71b2af1ac8fbba22d5491da9f89e7ef184ccbc.zip
cpython-1c71b2af1ac8fbba22d5491da9f89e7ef184ccbc.tar.gz
cpython-1c71b2af1ac8fbba22d5491da9f89e7ef184ccbc.tar.bz2
Issue #9948: logging: fixed problem of losing filename case information.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/logging/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index 112286b..b9cea3f 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -1174,7 +1174,7 @@ class Logger(Filterer):
if filename == _srcfile:
f = f.f_back
continue
- rv = (filename, f.f_lineno, co.co_name)
+ rv = (co.co_filename, f.f_lineno, co.co_name)
break
return rv