Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
hg-to-git: avoid raising a string exception
[gitweb.git]
/
contrib
/
hg-to-git
/
hg-to-git.py
diff --git
a/contrib/hg-to-git/hg-to-git.py
b/contrib/hg-to-git/hg-to-git.py
index f68ef725d42cdb1a6082574f9ef3a45d2346c296..25d99411ca5d2ff8d7296cb9a70c6d0bdd0b934a 100755
(executable)
--- a/
contrib/hg-to-git/hg-to-git.py
+++ b/
contrib/hg-to-git/hg-to-git.py
@@
-89,7
+89,7
@@
def getgitenv(user, date):
if o in ('-v', '--verbose'):
verbose = True
if len(args) != 1:
- raise('params')
+ raise
Exception
('params')
except:
usage()
sys.exit(1)