Commit d2008ad7 authored by Roque Porchetto's avatar Roque Porchetto

erp5_wendelin_telecom_ingestion: minor cleanup

parent cbf64dc7
...@@ -11,7 +11,6 @@ portal_catalog = portal.portal_catalog ...@@ -11,7 +11,6 @@ portal_catalog = portal.portal_catalog
try: try:
# remove supplier and eof from reference # remove supplier and eof from reference
reference = '/'.join(reference.split('/')[1:-1]) reference = '/'.join(reference.split('/')[1:-1])
log("Reference: " + reference)
context.logEntry("Data Ingestion reference: %s" % reference) context.logEntry("Data Ingestion reference: %s" % reference)
data_ingestion_reference = reference data_ingestion_reference = reference
...@@ -40,7 +39,6 @@ try: ...@@ -40,7 +39,6 @@ try:
validation_state = 'validated')] validation_state = 'validated')]
# create a new data ingestion # create a new data ingestion
log("Creating new Data Ingestion. ID: %s" % data_ingestion_id)
context.logEntry("Data Ingestion created. ID: %s" % data_ingestion_id) context.logEntry("Data Ingestion created. ID: %s" % data_ingestion_id)
data_ingestion = portal.data_ingestion_module.newContent( data_ingestion = portal.data_ingestion_module.newContent(
id = data_ingestion_id, id = data_ingestion_id,
......
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