Commit e47ca91d authored by Willem ter Berg's avatar Willem ter Berg

removed tuple references

parent dbc66020
......@@ -40,7 +40,7 @@ def referentiedata_on_update(key, data_dict, errors, context):
return key, data_dict, errors, context
current_dataset = get_action('package_show')(context, {'id': data_dict[('id',)]})
data_dict[key] = current_dataset[('referentiedata',)]
data_dict[key] = current_dataset['referentiedata']
return key, data_dict, errors, context
......@@ -77,7 +77,7 @@ def high_value_on_update(key, data_dict, errors, context):
return key, data_dict, errors, context
current_dataset = get_action('package_show')(context, {'id': data_dict[('id',)]})
data_dict[key] = current_dataset[('high_value',)]
data_dict[key] = current_dataset['high_value']
return key, data_dict, errors, context
......@@ -114,7 +114,7 @@ def basisregister_on_update(key, data_dict, errors, context):
return key, data_dict, errors, context
current_dataset = get_action('package_show')(context, {'id': data_dict[('id',)]})
data_dict[key] = current_dataset[('basisregister',)]
data_dict[key] = current_dataset['basisregister']
return key, data_dict, errors, context
......@@ -148,6 +148,6 @@ def link_status_update(key, data_dict, errors, context):
return key, data_dict, errors, context
current_dataset = get_action('resource_show')(context, {'id': data_dict[('id',)]})
data_dict[key] = current_dataset[('link_status',)]
data_dict[key] = current_dataset['link_status']
return key, data_dict, errors, context
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