Commit 49f4a937 authored by Jérome Perrin's avatar Jérome Perrin

archive: py3

parent d245d152
...@@ -69,7 +69,7 @@ for inventory in node_inventory_list: ...@@ -69,7 +69,7 @@ for inventory in node_inventory_list:
inv_line.updateCellRange(script_id='CashDetail_asCellRange', base_id=base_id) inv_line.updateCellRange(script_id='CashDetail_asCellRange', base_id=base_id)
# create cell # create cell
cell_range_key_list = inv_line.getCellRangeKeyList(base_id=base_id) cell_range_key_list = inv_line.getCellRangeKeyList(base_id=base_id)
if cell_range_key_list <> [[None, None]] : if cell_range_key_list != [[None, None]] :
for k in cell_range_key_list: for k in cell_range_key_list:
category_list = filter(lambda k_item: k_item is not None, k) category_list = filter(lambda k_item: k_item is not None, k)
cell = inv_line.newCell(*k, **line_kwd) cell = inv_line.newCell(*k, **line_kwd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment