##// END OF EJS Templates
hgweb: replace next(revs) to revs.next() to fix compatibility with Python 2.5-
Alexander Plavin -
r19499:81318ca0 stable
parent child Browse files
Show More
@@ -204,7 +204,7 b' def changelog(web, req, tmpl, shortlog=F'
204 if pos != -1:
204 if pos != -1:
205 revs = web.repo.changelog.revs(pos, 0)
205 revs = web.repo.changelog.revs(pos, 0)
206 if latestonly:
206 if latestonly:
207 revs = (next(revs),)
207 revs = (revs.next(),)
208 curcount = 0
208 curcount = 0
209 for i in revs:
209 for i in revs:
210 ctx = web.repo[i]
210 ctx = web.repo[i]
General Comments 0
You need to be logged in to leave comments. Login now