浏览代码

Fix for python3

oz123 10 年之前
父节点
当前提交
187b66dad3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      build_manpage.py

+ 1 - 1
build_manpage.py

@@ -205,7 +205,7 @@ class ManPageFormatter(argparse.HelpFormatter):
             return ''
 
         footer = []
-        for section, value in sections.iteritems():
+        for section, value in sections.items():
             part = ".SH {}\n {}".format(section.upper(), value)
             footer.append(part)