diff hgext/convert/hg.py @ 16687:e34106fa0dc3

cleanup: "raise SomeException()" -> "raise SomeException"
author Brodie Rao <brodie@sf.io>
date Sat, 12 May 2012 16:00:58 +0200
parents 67964cda8701
children f366d4c2ff34
line wrap: on
line diff
--- a/hgext/convert/hg.py	Sat May 12 16:00:57 2012 +0200
+++ b/hgext/convert/hg.py	Sat May 12 16:00:58 2012 +0200
@@ -241,7 +241,7 @@
             # try to provoke an exception if this isn't really a hg
             # repo, but some other bogus compatible-looking url
             if not self.repo.local():
-                raise error.RepoError()
+                raise error.RepoError
         except error.RepoError:
             ui.traceback()
             raise NoRepo(_("%s is not a local Mercurial repository") % path)