mercurial/dirstate.py
changeset 7008 8fee8ff13d37
parent 6977 df96a0d1d79d
child 7023 74be9d0c665c
--- a/mercurial/dirstate.py	Mon Sep 08 12:55:46 2008 +0200
+++ b/mercurial/dirstate.py	Mon Sep 08 13:07:00 2008 +0200
@@ -97,7 +97,7 @@
                 self.normalize = lambda x: x
             return self.normalize
         else:
-            raise AttributeError, name
+            raise AttributeError(name)
 
     def _join(self, f):
         # much faster than os.path.join()