Kaydet (Commit) b6d2f3e0 authored tarafından Jeremy Hylton's avatar Jeremy Hylton

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

üst fff093fa
...@@ -8,7 +8,7 @@ _filters = [] ...@@ -8,7 +8,7 @@ _filters = []
_showwarning = None _showwarning = None
def showwarning(message, category, filename, lineno, file=None): def showwarning(message, category, filename, lineno, file=None):
i = filename.find("Lib/") i = filename.find("Lib")
filename = filename[i:] filename = filename[i:]
print "%s:%s: %s: %s" % (filename, lineno, category.__name__, message) 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