summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f45ed32)
raw | patch | inline | side by side (parent: f45ed32)
author | Miklos Vajna <vmiklos@frugalware.org> | |
Sun, 6 Jul 2008 03:15:17 +0000 (05:15 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 6 Jul 2008 06:35:11 +0000 (23:35 -0700) |
This fixes the following warning:
hg-to-git.py:92: DeprecationWarning: raising a string exception is deprecated
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
hg-to-git.py:92: DeprecationWarning: raising a string exception is deprecated
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hg-to-git/hg-to-git.py | patch | blob | history |
index f68ef725d42cdb1a6082574f9ef3a45d2346c296..25d99411ca5d2ff8d7296cb9a70c6d0bdd0b934a 100755 (executable)
if o in ('-v', '--verbose'):
verbose = True
if len(args) != 1:
- raise('params')
+ raise Exception('params')
except:
usage()
sys.exit(1)