mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
memctx: remove __nonzero__ since it is now inherited
This commit is contained in:
parent
4a1f5fc163
commit
f9b7d78d04
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user