Permalink
Browse files

Correct exit code

  • Loading branch information...
1 parent e345ca2 commit be0867a5f723d5cd6cff1ebc2b15070bd6820525 @dcramer committed Apr 27, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 setup.py
  2. +1 −1 src/piplint/__init__.py
View
@@ -5,7 +5,7 @@
setup(
name="piplint",
license='Apache License 2.0',
- version="0.1.0",
+ version="0.1.1",
description="Checks packages in your active environment against pip requirements files",
author="David Cramer",
author_email="dcramer@gmail.com",
View
@@ -75,7 +75,7 @@ def valid_version(version, compare, r_version):
if not valid_version(version, r_compare, r_version):
print "Requirement %r was found in virtualenv, but is not a valid version" % r_package
print "Found %r, but expected %r" % (line, r_line)
- return 0
+ return 1
found = True

0 comments on commit be0867a

Please sign in to comment.