Mercurial > public > mercurial-scm > hg
diff hgext/convert/git.py @ 16687:e34106fa0dc3
cleanup: "raise SomeException()" -> "raise SomeException"
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 16:00:58 +0200 |
parents | 525fdb738975 |
children | f366d4c2ff34 |
line wrap: on
line diff
--- a/hgext/convert/git.py Sat May 12 16:00:57 2012 +0200 +++ b/hgext/convert/git.py Sat May 12 16:00:58 2012 +0200 @@ -69,7 +69,7 @@ def catfile(self, rev, type): if rev == hex(nullid): - raise IOError() + raise IOError data, ret = self.gitread("git cat-file %s %s" % (type, rev)) if ret: raise util.Abort(_('cannot read %r object at %s') % (type, rev))