summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormoe <moe>2006-03-14 23:58:51 +0000
committermoe <moe>2006-03-14 23:58:51 +0000
commit00c891b9d215ea42e41e836452fbefa41b931149 (patch)
tree3445ef5a220be1fc74014efe9f9ca83eacbc29e3 /bin
parent52e2ebad38e0379996bed37de3cef32f55302fbb (diff)
downloadpyflakes-00c891b9d215ea42e41e836452fbefa41b931149.tar.gz
merge people-fixups-729-2. authors: moe, amir. reviewer: glyph. provides: erin parity for people. closes #729
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pyflakes2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pyflakes b/bin/pyflakes
index 3ad1bec..862a4d9 100755
--- a/bin/pyflakes
+++ b/bin/pyflakes
@@ -13,7 +13,7 @@ def check(codeString, filename):
(lineno, offset, line) = value[1][1:]
except IndexError:
print >> sys.stderr, 'could not compile %r' % (filename,)
- return
+ return 1
if line.endswith("\n"):
line = line[:-1]
print >> sys.stderr, '%s:%d: could not compile' % (filename, lineno)