From 138bc37a3a4cd1e4e0d9f3d2b1c27d23a7ccf454 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Thu, 10 Dec 2015 14:16:44 -0500 Subject: [PATCH] xml2nroff: Don't use built-in function name. Don't use "input" as a variable name, as input is a built-in Python function. Signed-off-by: Russell Bryant Acked-by: Justin Pettit --- build-aux/xml2nroff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-aux/xml2nroff b/build-aux/xml2nroff index 314a5e1006c..d55a0d313ab 100755 --- a/build-aux/xml2nroff +++ b/build-aux/xml2nroff @@ -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"