From f9b7d78d046db4bcf24f74f9355aa7b9f4f60f2b Mon Sep 17 00:00:00 2001 From: Sean Farley Date: Thu, 15 Aug 2013 15:04:55 -0500 Subject: [PATCH] memctx: remove __nonzero__ since it is now inherited --- mercurial/context.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/mercurial/context.py b/mercurial/context.py index 793aa3fd6a..6c0853a60e 100644 --- a/mercurial/context.py +++ b/mercurial/context.py @@ -1578,9 +1578,6 @@ class memctx(committablectx): self._text = editor(self._repo, self, []) self._repo.savecommitmessage(self._text) - def __nonzero__(self): - return True - def __getitem__(self, key): return self.filectx(key)