xrange and izip_longest aren't available in vanilla python3 (#17226)

Fixes for these are either rewriting to get rid of the need for the
functions or using six.moves to get equivalent functions for both
python2 and python3
This commit is contained in:
Toshio Kuratomi 2016-08-24 12:28:02 -07:00 committed by GitHub
parent 27b0f3241b
commit 51ec35378d
4 changed files with 7 additions and 6 deletions

View file

@ -218,7 +218,7 @@ class DocCLI(CLI):
text.append("- name: %s" % (desc))
text.append(" action: %s" % (doc['module']))
pad = 31
subdent = ''.join([" " for a in xrange(pad)])
subdent = " " * pad
limit = display.columns - pad
for o in sorted(doc['options'].keys()):