projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
imx8m: soc: enable SCTR clock before timer init
[oweals/u-boot.git]
/
scripts
/
mailmapper
diff --git
a/scripts/mailmapper
b/scripts/mailmapper
index dd1ddf6a712fd424942bf7ffb56d17587bc12dfb..2e2d7faff573d215361b97e89588a4524f347cb1 100755
(executable)
--- a/
scripts/mailmapper
+++ b/
scripts/mailmapper
@@
-1,9
+1,7
@@
-#!/usr/bin/env python
+#!/usr/bin/env python2
+# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (C) 2014, Masahiro Yamada <yamada.m@jp.panasonic.com>
#
# Copyright (C) 2014, Masahiro Yamada <yamada.m@jp.panasonic.com>
-#
-# SPDX-License-Identifier: GPL-2.0+
-#
'''
A tool to create/update the mailmap file
'''
A tool to create/update the mailmap file
@@
-59,8
+57,7
@@
MIN_COMMITS = 50
try:
toplevel = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'])
except subprocess.CalledProcessError:
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()
# strip '\n'
toplevel = toplevel.rstrip()