##// END OF EJS Templates
use enumerate instead of zip
Benoit Boissinot -
r7616:b9bd6f78 default
parent child Browse files
Show More
@@ -297,7 +297,7 b' def patchbomb(ui, repo, *revs, **opts):'
297 % len(patches))
297 % len(patches))
298
298
299 name = None
299 name = None
300 for p, i in zip(patches, xrange(len(patches))):
300 for i, p in enumerate(patches):
301 jumbo.extend(p)
301 jumbo.extend(p)
302 if patchnames:
302 if patchnames:
303 name = patchnames[i]
303 name = patchnames[i]
General Comments 0
You need to be logged in to leave comments. Login now