manifest: just duplicate the definition of items as iteritems
The forwarding trick was failing test-check-interfaces on Python
3. Duplicating a line of code is easy enough I'm doing that rather
than try and figure out what's going on in any kind of detail.
Differential Revision: https://phab.mercurial-scm.org/D3924
--- a/mercurial/manifest.py Wed Jul 11 11:41:14 2018 -0400
+++ b/mercurial/manifest.py Wed Jul 11 11:43:22 2018 -0400
@@ -534,7 +534,8 @@
def items(self):
return (x[:2] for x in self._lm.iterentries())
- iteritems = items
+ def iteritems(self):
+ return (x[:2] for x in self._lm.iterentries())
def iterentries(self):
return self._lm.iterentries()