Don't include slash in search string; it's OS-specific.

This commit is contained in:
Jeremy Hylton 2003-07-11 20:22:55 +00:00
parent fff093fa7f
commit b6d2f3e07d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ _filters = []
_showwarning = None
def showwarning(message, category, filename, lineno, file=None):
i = filename.find("Lib/")
i = filename.find("Lib")
filename = filename[i:]
print "%s:%s: %s: %s" % (filename, lineno, category.__name__, message)