##// END OF EJS Templates
obsolete: avoid 2-argument form of enumerate, which was new in Python 2.6
Augie Fackler -
r22262:10880c8a default
parent child Browse files
Show More
@@ -398,8 +398,8 b' def _encodeonemarker(marker):'
398 398 if not parents:
399 399 # mark that we explicitly recorded no parents
400 400 metadata['p0'] = ''
401 for i, p in enumerate(parents, 1):
402 metadata['p%i' % i] = node.hex(p)
401 for i, p in enumerate(parents):
402 metadata['p%i' % (i + 1)] = node.hex(p)
403 403 metadata = encodemeta(metadata)
404 404 nbsuc = len(sucs)
405 405 format = _fmfixed + (_fmnode * nbsuc)
General Comments 0
You need to be logged in to leave comments. Login now