diff mercurial/cmdutil.py @ 16687:e34106fa0dc3

cleanup: "raise SomeException()" -> "raise SomeException"
author Brodie Rao <brodie@sf.io>
date Sat, 12 May 2012 16:00:58 +0200
parents 5cf18921bb7b
children d947e1da1259
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Sat May 12 16:00:57 2012 +0200
+++ b/mercurial/cmdutil.py	Sat May 12 16:00:58 2012 +0200
@@ -1360,7 +1360,7 @@
                                               copied=copied.get(path))
                     return mctx
                 except KeyError:
-                    raise IOError()
+                    raise IOError
         else:
             ui.note(_('copying changeset %s to %s\n') % (old, base))
 
@@ -1369,7 +1369,7 @@
                 try:
                     return old.filectx(path)
                 except KeyError:
-                    raise IOError()
+                    raise IOError
 
             # See if we got a message from -m or -l, if not, open the editor
             # with the message of the changeset to amend