Mercurial > evolve
changeset 412:7d30d1becfc4
obsolete: simplify obsolete feature enabling
We don't need setattr here
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 31 Jul 2012 14:26:41 +0200 |
parents | 4c1997e41d18 |
children | 984be08ef504 |
files | hgext/obsolete.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/obsolete.py Thu Aug 02 18:52:15 2012 +0200 +++ b/hgext/obsolete.py Tue Jul 31 14:26:41 2012 +0200 @@ -76,7 +76,7 @@ from mercurial import cmdutil from mercurial import templatekw from mercurial import obsolete -setattr(obsolete, '_enabled', True) +obsolete._enabled = True try: from mercurial.localrepo import storecache