Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Nov 20, 2015
1 parent f35f89c commit dfb7d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/archiver/plugin.py
Expand Up @@ -121,8 +121,8 @@ def add_archival_information(key, data, errors, context):
break
res_id = data[res_id_key]
archival = archivals_by_res_id.get(res_id)
archival_dict = archival.as_dict()
if archival:
archival_dict = archival.as_dict()
del archival_dict['id']
del archival_dict['package_id']
del archival_dict['resource_id']
Expand Down

0 comments on commit dfb7d56

Please sign in to comment.