mercurial/localrepo.py
changeset 7008 8fee8ff13d37
parent 6989 32e68ffccbc5
child 7009 3d54cf97598d
--- a/mercurial/localrepo.py	Mon Sep 08 12:55:46 2008 +0200
+++ b/mercurial/localrepo.py	Mon Sep 08 13:07:00 2008 +0200
@@ -96,7 +96,7 @@
             self.dirstate = dirstate.dirstate(self.opener, self.ui, self.root)
             return self.dirstate
         else:
-            raise AttributeError, name
+            raise AttributeError(name)
 
     def __getitem__(self, changeid):
         if changeid == None: