From: Yoshitaka Aharen Date: Mon, 28 Jan 2013 12:01:42 +0000 (+0900) Subject: [2157] added a note to explain why empty string is required X-Git-Tag: bind10-1.1.0beta1-release~85^2~5^2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab9c7fa4343ba35decbf47b765d81ffa785c7638;p=thirdparty%2Fkea.git [2157] added a note to explain why empty string is required --- diff --git a/src/bin/auth/gen-statisticsitems.py.pre.in b/src/bin/auth/gen-statisticsitems.py.pre.in index 43f81fdc0e..40f33f0fbe 100755 --- a/src/bin/auth/gen-statisticsitems.py.pre.in +++ b/src/bin/auth/gen-statisticsitems.py.pre.in @@ -219,7 +219,9 @@ def generate_docfile(docfile, def_mtime): if word == xmldocument_command_name: command = ElementTree.SubElement(sim_para, 'command') command.text = word - # append empty string for trailing text + # at this point command.tail is None + # append empty string as trailing text for the next + # word so it can be concatinated with trailing words command.tail = '' prev = command else: