All pastes #69462 Raw Edit

pyflakes patch

public text v1 · immutable
#69462 ·published 2006-06-22 23:25 UTC
rendered paste body
Index: pyflakes
===================================================================
--- pyflakes    (revision 7262)
+++ pyflakes    (working copy)
@@ -31,6 +31,8 @@
 def checkPath(filename):
     if os.path.exists(filename):
         return check(file(filename, 'U').read(), filename)
+    else:
+        return 0
 
 warnings = 0
 args = sys.argv[1:]