mirror of https://github.com/python/cpython
Issue #9948: logging: fixed problem of losing filename case information.
This commit is contained in:
parent
7d03c7da19
commit
1c71b2af1a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue