Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dirstate.py @ 7008:8fee8ff13d37
use Exception(args)-style raising consistently (py3k compatibility)
author | Peter Ruibal <peter.ruibal@intel.com> |
---|---|
date | Mon, 08 Sep 2008 13:07:00 +0200 |
parents | df96a0d1d79d |
children | 74be9d0c665c |
line wrap: on
line diff
--- 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()