changeset 21690:da352312fa18

memfilectx: remove __nonzero__ since it is now inherited
author Sean Farley <sean.michael.farley@gmail.com>
date Thu, 15 Aug 2013 15:46:22 -0500
parents 503bb3af70fe
children 2ee3a7b0846a
files mercurial/context.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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):