xml2nroff: Don't use built-in function name.
authorRussell Bryant <russell@ovn.org>
Thu, 10 Dec 2015 19:16:44 +0000 (14:16 -0500)
committerRussell Bryant <russell@ovn.org>
Fri, 11 Dec 2015 17:02:10 +0000 (12:02 -0500)
Don't use "input" as a variable name, as input is a built-in Python
function.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
build-aux/xml2nroff

index 314a5e1..d55a0d3 100755 (executable)
@@ -42,12 +42,12 @@ The following options are also available:
 
 def manpage_to_nroff(xml_file, subst, version=None):
     f = open(xml_file)
-    input = []
+    content = []
     for line in f:
         for k, v in subst.iteritems():
             line = line.replace(k, v)
-        input += [line]
-    doc = xml.dom.minidom.parseString(''.join(input)).documentElement
+        content += [line]
+    doc = xml.dom.minidom.parseString(''.join(content)).documentElement
 
     if version is None:
         version = "UNKNOWN"