Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.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 | 32e68ffccbc5 |
children | 3d54cf97598d |
line wrap: on
line diff
--- 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: