Update
svn: r7819
This commit is contained in:
parent
740a436e76
commit
997be179b9
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user