memfilectx: remove __nonzero__ since it is now inherited
authorSean Farley <sean.michael.farley@gmail.com>
Thu, 15 Aug 2013 15:46:22 -0500
changeset 21690 da352312fa18
parent 21689 503bb3af70fe
child 21691 2ee3a7b0846a
memfilectx: remove __nonzero__ since it is now inherited
mercurial/context.py
--- a/mercurial/context.py	Thu Aug 15 16:49:27 2013 -0500
+++ b/mercurial/context.py	Thu Aug 15 15:46:22 2013 -0500
@@ -1607,8 +1607,6 @@
         if copied:
             self._copied = (copied, nullid)
 
-    def __nonzero__(self):
-        return True
     def __str__(self):
         return "%s@%s" % (self.path(), self._changectx)
     def path(self):