hgext/convert/git.py
changeset 16687 e34106fa0dc3
parent 16683 525fdb738975
child 16689 f366d4c2ff34
--- 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))