summaryrefslogtreecommitdiff
path: root/scripts/mailmapper
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mailmapper')
-rwxr-xr-xscripts/mailmapper3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/mailmapper b/scripts/mailmapper
index dd1ddf6..922ada6 100755
--- a/scripts/mailmapper
+++ b/scripts/mailmapper
@@ -59,8 +59,7 @@ MIN_COMMITS = 50
try:
toplevel = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'])
except subprocess.CalledProcessError:
- print >> sys.stderr, 'Please run in a git repository.'
- sys.exit(1)
+ sys.exit('Please run in a git repository.')
# strip '\n'
toplevel = toplevel.rstrip()