fix error reporting issue when a "pyc" file has no relating "py"

This commit is contained in:
holger krekel
2011-01-27 21:11:21 +01:00
parent adacd3491d
commit 762ea71f67
4 changed files with 10 additions and 4 deletions

View File

@@ -449,7 +449,7 @@ class Session(FSCollector):
p = p.dirpath()
else:
p = p.new(basename=p.purebasename+".py")
return p
return str(p)
def _parsearg(self, arg):
""" return (fspath, names) tuple after checking the file exists. """