Commit 401f99d8 authored by Yoshitaka Aharen's avatar Yoshitaka Aharen
Browse files

[2157] avoid unnecessary keyword substitution

parent fc44d8a5
......@@ -167,7 +167,7 @@ def generate_docfile(docfile, def_mtime):
if need_generate(builddir+os.sep+docfile, def_mtime):
doc_pre = open(srcdir+os.sep+docfile+pre_suffix, 'r')
doc_pre_xml = doc_pre.read().replace('@@LOCALSTATEDIR@@', localstatedir)
doc_pre_xml = doc_pre.read().replace('@@LOCAL'+'STATEDIR@@', localstatedir)
doc_pre.close
variable_tree = ElementTree.Element('variablelist')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment