diff -r a6b74fbb5ce0 -r 8fee8ff13d37 mercurial/dirstate.py --- 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()