slight tweaks to booklist format
svn: r21719
This commit is contained in:
parent
64b44a16db
commit
0c46e5d91a
@ -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