better dummy xml entries

This commit is contained in:
Chris PeBenito 2005-06-24 20:36:49 +00:00
parent 73fbc771d1
commit f8838e6ac1
1 changed files with 13 additions and 2 deletions

View File

@ -191,8 +191,11 @@ def getModuleXML(file_name):
if len(temp_buf): if len(temp_buf):
module_buf += temp_buf module_buf += temp_buf
else: else:
module_buf.append("<summary>\n")
module_buf.append("Summary is unspecified.\n")
module_buf.append("</summary>\n")
module_buf.append("<param name=\"?\">\n") module_buf.append("<param name=\"?\">\n")
module_buf.append("Parameters unspecified.\n") module_buf.append("Parameters are unspecified.\n")
module_buf.append("</param>\n") module_buf.append("</param>\n")
temp_buf = [] temp_buf = []
module_buf.append("</interface>\n") module_buf.append("</interface>\n")
@ -200,7 +203,15 @@ def getModuleXML(file_name):
elif getParams(line,TEMPLATE): elif getParams(line,TEMPLATE):
module_buf.append("<template name =\"%s\">\n"\ module_buf.append("<template name =\"%s\">\n"\
% getParams(line,TEMPLATE)[0]) % getParams(line,TEMPLATE)[0])
if len(temp_buf):
module_buf += temp_buf module_buf += temp_buf
else:
module_buf.append("<summary>\n")
module_buf.append("Summary is unspecified.\n")
module_buf.append("</summary>\n")
module_buf.append("<param name=\"?\">\n")
module_buf.append("Parameters unspecified.\n")
module_buf.append("</param>\n")
temp_buf = [] temp_buf = []
module_buf.append("</template>\n") module_buf.append("</template>\n")