Skip to content

Commit

Permalink
Merge pull request #12 from pzinovkin/patch-1
Browse files Browse the repository at this point in the history
Return exit code
  • Loading branch information
dcramer committed Aug 3, 2013
2 parents 329fa2f + 6d65216 commit 856a77f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/piplint/__init__.py
Expand Up @@ -9,6 +9,7 @@
import argparse import argparse
import os import os
import re import re
import sys
from pkg_resources import parse_version from pkg_resources import parse_version
from subprocess import Popen, PIPE from subprocess import Popen, PIPE


Expand Down Expand Up @@ -215,9 +216,10 @@ def main():
cli_args = cli_parser.parse_args() cli_args = cli_parser.parse_args()


# call the main function to kick off the real work # call the main function to kick off the real work
check_requirements(cli_args.file, strict=cli_args.strict, code = check_requirements(cli_args.file, strict=cli_args.strict,
verbose=cli_args.verbose, venv=cli_args.venv, verbose=cli_args.verbose, venv=cli_args.venv,
do_colour=cli_args.colour,) do_colour=cli_args.colour,)
sys.exit(code)




if __name__ == '__main__': if __name__ == '__main__':
Expand Down

0 comments on commit 856a77f

Please sign in to comment.