projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xml2nroff: Don't use built-in function name.
[cascardo/ovs.git]
/
build-aux
/
xml2nroff
diff --git
a/build-aux/xml2nroff
b/build-aux/xml2nroff
index
314a5e1
..
d55a0d3
100755
(executable)
--- 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)
def manpage_to_nroff(xml_file, subst, version=None):
f = open(xml_file)
-
inpu
t = []
+
conten
t = []
for line in f:
for k, v in subst.iteritems():
line = line.replace(k, v)
for line in f:
for k, v in subst.iteritems():
line = line.replace(k, v)
-
inpu
t += [line]
- doc = xml.dom.minidom.parseString(''.join(
inpu
t)).documentElement
+
conten
t += [line]
+ doc = xml.dom.minidom.parseString(''.join(
conten
t)).documentElement
if version is None:
version = "UNKNOWN"
if version is None:
version = "UNKNOWN"