BIND 10 trac2157_2, updated. 33df53b4a17b63ef8788b334d52dd8c7e433785c [2157] some minor editorial fixes
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Feb 13 03:41:59 UTC 2013
The branch, trac2157_2 has been updated
via 33df53b4a17b63ef8788b334d52dd8c7e433785c (commit)
from 75d35628ee67d2da4d8b6268e415cf5060acf68a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 33df53b4a17b63ef8788b334d52dd8c7e433785c
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Feb 12 19:41:51 2013 -0800
[2157] some minor editorial fixes
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/gen-statisticsitems.py.pre.in | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/gen-statisticsitems.py.pre.in b/src/bin/auth/gen-statisticsitems.py.pre.in
index 4bd44bf..e2d1623 100755
--- a/src/bin/auth/gen-statisticsitems.py.pre.in
+++ b/src/bin/auth/gen-statisticsitems.py.pre.in
@@ -194,7 +194,7 @@ def generate_docfile(docfile, def_mtime):
<varlistentry>
<term>##item_full_name##</term>
<listitem><simpara>##item_description##</simpara></listitem>
- <varlistentry>
+ </varlistentry>
xmldocument_command_name in item_description is put inside <command>
element.
'''
@@ -216,7 +216,7 @@ def generate_docfile(docfile, def_mtime):
command.text = word
# at this point command.tail is None
# append a space as trailing text for the next word
- # so it can be concatinated with trailing words
+ # so it can be concatenated with trailing words
command.tail = ' '
prev = command
else:
@@ -248,16 +248,13 @@ def generate_docfile(docfile, def_mtime):
pretty_xml = pretty_xml.decode('utf-8')
# put newline around <variablelist> and <varlistentry> element
pretty_xml = \
- re.sub(r'(</?var(?:iablelist|listentry)>)', r'\1\n',
- pretty_xml)
+ re.sub(r'(</?var(?:iablelist|listentry)>)', r'\1\n', pretty_xml)
# indent <term> and <listitem>
pretty_xml = \
- re.sub(r'(<(?:term|listitem)>)', r' \1',
- pretty_xml)
+ re.sub(r'(<(?:term|listitem)>)', r' \1', pretty_xml)
# put newline after </term> and </listitem>
pretty_xml = \
- re.sub(r'(</(?:term|listitem)>)', r'\1\n',
- pretty_xml)
+ re.sub(r'(</(?:term|listitem)>)', r'\1\n', pretty_xml)
with open(builddir+os.sep+docfile, 'w') as doc:
doc.write(doc_pre_xml.replace(
More information about the bind10-changes
mailing list