changeset 21669:c0620ccc16ef

memctx: remove __nonzero__ since it is now inherited
author Sean Farley <sean.michael.farley@gmail.com>
date Thu, 15 Aug 2013 15:04:55 -0500
parents 4ed3e5725eda
children 3397666d32cf
files mercurial/context.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)