# HG changeset patch # User Sean Farley # Date 1376597095 18000 # Node ID c0620ccc16efb22e87d6498dcdeae0e3c5b16f51 # Parent 4ed3e5725eda47cdfecbe35609f3379ec3a4e85e memctx: remove __nonzero__ since it is now inherited diff -r 4ed3e5725eda -r c0620ccc16ef mercurial/context.py --- a/mercurial/context.py Thu Aug 15 15:04:36 2013 -0500 +++ b/mercurial/context.py Thu Aug 15 15:04:55 2013 -0500 @@ -1578,9 +1578,6 @@ self._text = editor(self._repo, self, []) self._repo.savecommitmessage(self._text) - def __nonzero__(self): - return True - def __getitem__(self, key): return self.filectx(key)