Forgot the sys.exit

This commit is contained in:
Anthony Sottile
2014-03-22 18:20:19 -07:00
parent 04b421978a
commit 40c6bb03de
3 changed files with 6 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ from __future__ import print_function
import argparse
import re
import sys
import pre_commit.constants as C
from pre_commit.clientlib.validate_base import get_validator
@@ -90,4 +91,4 @@ def run(argv):
if __name__ == '__main__':
run()
sys.exit(run())

View File

@@ -2,6 +2,7 @@
from __future__ import print_function
import argparse
import sys
import pre_commit.constants as C
from pre_commit.clientlib.validate_base import get_validator
@@ -79,4 +80,4 @@ def run(argv):
if __name__ == '__main__':
run()
sys.exit(run())