memctx: remove __nonzero__ since it is now inherited

This commit is contained in:
Sean Farley 2013-08-15 15:04:55 -05:00
parent 4a1f5fc163
commit f9b7d78d04

View File

@ -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)