Commit 74e702f6 authored by Jeremy Hylton's avatar Jeremy Hylton

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

parent 82a4b719
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment