diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-10-10 20:36:04 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2010-10-10 20:36:04 (GMT) |
commit | 5e8349e5cc42f0cbae1706cd9b6317e8dd406ee6 (patch) | |
tree | 5173812b91966aeecb0631e100b913e2c65fb106 /Lib/logging | |
parent | 739a59cf720cfd76df30ff9b513c6e0a068434b2 (diff) | |
download | cpython-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__.py | 2 |
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 |