##// END OF EJS Templates
manifest: add __next__ methods for Python 3...
Augie Fackler -
r31364:91874c24 default
parent child Browse files
Show More
@@ -123,6 +123,8 b' class lazymanifestiter(object):'
123 123 zeropos = data.find('\x00', pos)
124 124 return data[pos:zeropos]
125 125
126 __next__ = next
127
126 128 class lazymanifestiterentries(object):
127 129 def __init__(self, lm):
128 130 self.lm = lm
@@ -146,6 +148,8 b' class lazymanifestiterentries(object):'
146 148 self.pos += 1
147 149 return (data[pos:zeropos], hashval, flags)
148 150
151 __next__ = next
152
149 153 def unhexlify(data, extra, pos, length):
150 154 s = data[pos:pos + length].decode('hex')
151 155 if extra:
General Comments 0
You need to be logged in to leave comments. Login now