Commit e5024fd6 authored by Ophélie Gagnard's avatar Ophélie Gagnard

slapos_metadata_transform_agent: missing one

parent 6c9789b0
...@@ -21,10 +21,10 @@ tmp_data_stream = context.data_stream_module.newContent(portal_type='Data Stream ...@@ -21,10 +21,10 @@ tmp_data_stream = context.data_stream_module.newContent(portal_type='Data Stream
def createTempBase(nr, row): def createTempBase(nr, row):
def getElementFromArray(array, index): def getElementFromArray(array, index):
return tmp_data_stream.get_path_from_uid(array[index], 'test') return tmp_data_stream.get_path_from_uid(array[index])
def getElementFromScalar(scalar, index=None): def getElementFromScalar(scalar, index=None):
return tmp_data_stream.get_path_from_uid(scalar, 'test') return tmp_data_stream.get_path_from_uid(scalar)
column_list = [col for col in context.DataArray_getArrayColumnList() if col[0] != 'index'] column_list = [col for col in context.DataArray_getArrayColumnList() if col[0] != 'index']
column_iterator = enumerate(column_list) column_iterator = enumerate(column_list)
......
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