ignore any CLI book report "item" which crashes

svn: r21668
This commit is contained in:
Paul Franklin 2013-03-16 22:50:21 +00:00
parent 8af82fae08
commit a713d5c388

View File

@ -743,8 +743,9 @@ def cl_book(database, name, book, options_str_dict):
report_class = item.get_write_item() report_class = item.get_write_item()
obj = write_book_item(database, obj = write_book_item(database,
report_class, item.option_class, user) report_class, item.option_class, user)
append_styles(selected_style, item) if obj:
rptlist.append(obj) append_styles(selected_style, item)
rptlist.append(obj)
doc.set_style_sheet(selected_style) doc.set_style_sheet(selected_style)
doc.open(clr.option_class.get_output()) doc.open(clr.option_class.get_output())