Don't use "input" as a variable name, as input is a built-in Python function.
Signed-off-by: Russell Bryant <russ...@ovn.org> --- build-aux/xml2nroff | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-aux/xml2nroff b/build-aux/xml2nroff index 314a5e1..d55a0d3 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" -- 2.5.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev