Commit 0b6f3715 authored by Roque Porchetto's avatar Roque Porchetto

erp5_wendelin_telecom_ingestion: fixing minor bug during data streams download

parent a6e7695e
......@@ -26,6 +26,8 @@ for line in portal_catalog(**query_dict):
for item in line.getAggregateSet():
if "data_stream_module/" in item:
data_stream = context.restrictedTraverse(item)
if data_stream.getValidationState == "invalidated" or data_stream.getReference().endswith("_invalid"):
break
data_stream_list.append([item, data_stream.getReference()])
break
......
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