svn: r7819
This commit is contained in:
Alex Roitman 2006-12-19 07:42:43 +00:00
parent 740a436e76
commit 997be179b9

View File

@ -206,12 +206,12 @@ class OptionListCollection:
for list_index in range(len(options[option_name])): for list_index in range(len(options[option_name])):
f.write(' <listitem number="%d" value="%s"/>\n' % ( f.write(' <listitem number="%d" value="%s"/>\n' % (
list_index, list_index,
escape(options[option_name][list_index])) ) escape(str(options[option_name][list_index]))) )
f.write(' </option>\n') f.write(' </option>\n')
else: else:
f.write(' <option name="%s" value="%s"/>\n' % ( f.write(' <option name="%s" value="%s"/>\n' % (
escape(option_name), escape(option_name),
escape(options[option_name])) ) escape(str(options[option_name]))) )
self.write_module_common(f,option_list) self.write_module_common(f,option_list)