summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2015-07-06 21:05:03 -0700
committerBen Pfaff <blp@nicira.com>2015-07-06 21:05:51 -0700
commit4d9d1d9e7248820fd192dfbc6780fc5f673594fc (patch)
tree1c506b0edc164f2ae082c5f70d730485419b4043 /build-aux
parent44648b0f08fecf237a3c71203a334dd5ee3f9cad (diff)
downloadopenvswitch-4d9d1d9e7248820fd192dfbc6780fc5f673594fc.tar.gz
nroff: Fix style of names.
The recommended Google Python style is multi_word_names, not multiWordNames. There are lots of other places where the style could be improved. I started here because I was working in this code anyway and because this code is only used at build time and not installed, so that it can't break any third-party code. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Justin Pettit <jpettit@nicira.com>
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/xml2nroff5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/xml2nroff b/build-aux/xml2nroff
index 1df195e59..1f8519a20 100755
--- a/build-aux/xml2nroff
+++ b/build-aux/xml2nroff
@@ -73,9 +73,10 @@ def manpage_to_nroff(xml_file, subst, version=None):
. I "\\$1"
. RE
..
-''' % (textToNroff(program), textToNroff(section), textToNroff(title), textToNroff(version))
+''' % (text_to_nroff(program), text_to_nroff(section),
+ text_to_nroff(title), text_to_nroff(version))
- s += blockXmlToNroff(doc.childNodes) + "\n"
+ s += block_xml_to_nroff(doc.childNodes) + "\n"
return s