summaryrefslogtreecommitdiffstats
path: root/Lib/logging
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)
commit5e8349e5cc42f0cbae1706cd9b6317e8dd406ee6 (patch)
tree5173812b91966aeecb0631e100b913e2c65fb106 /Lib/logging
parent739a59cf720cfd76df30ff9b513c6e0a068434b2 (diff)
downloadcpython-5e8349e5cc42f0cbae1706cd9b6317e8dd406ee6.zip
cpython-5e8349e5cc42f0cbae1706cd9b6317e8dd406ee6.tar.gz
cpython-5e8349e5cc42f0cbae1706cd9b6317e8dd406ee6.tar.bz2
Issue #9948: logging: fixed problem of losing filename case information.
Diffstat (limited to 'Lib/logging')
-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 6baf9b4..2f081a0 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -1211,7 +1211,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