Skip to content

Commit

Permalink
Merge branch '62-default-package-name'
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Aug 19, 2013
2 parents 4c110ea + f028375 commit 52956fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckanext/harvest/harvesters/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ def _create_or_update_package(self, package_dict, harvest_object):
log.info('Package with GUID %s exists and needs to be updated' % harvest_object.guid)
# Update package
context.update({'id':package_dict['id']})
package_dict.setdefault('name',
existing_package_dict['name'])
new_package = get_action('package_update_rest')(context, package_dict)

else:
Expand Down

0 comments on commit 52956fe

Please sign in to comment.