slight tweaks to booklist format
svn: r21718
This commit is contained in:
parent
93e95ad7da
commit
8835e3f133
@ -329,7 +329,8 @@ class BookList(object):
|
||||
f.write(' <item name="%s" trans_name="%s">\n' %
|
||||
(item.get_name(),item.get_translated_name() ) )
|
||||
options = item.option_class.handler.options_dict
|
||||
for option_name, option_value in options.items():
|
||||
for option_name in sorted(options.keys()): # enable a diff
|
||||
option_value = options[option_name]
|
||||
if isinstance(option_value, (list, tuple)):
|
||||
f.write(' <option name="%s" value="" '
|
||||
'length="%d">\n' % (
|
||||
|
Loading…
Reference in New Issue
Block a user