Issue #9948: logging: fixed problem of losing filename case information.

This commit is contained in:
Vinay Sajip 2010-10-10 20:36:04 +00:00
parent 7d03c7da19
commit 1c71b2af1a
2 changed files with 3 additions and 1 deletions

View file

@ -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