Skip to content
Snippets Groups Projects
Commit 51df7265 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

hgmanpage: use range instead of xrange

parent ec7b478f
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,7 @@
# ensure we get a ".TH" as viewers require it.
self.head.append(self.header())
# filter body
for i in xrange(len(self.body) - 1, 0, -1):
for i in range(len(self.body) - 1, 0, -1):
# remove superfluous vertical gaps.
if self.body[i] == '.sp\n':
if self.body[i - 1][:4] in ('.BI ','.IP '):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment