Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnavarro committed Sep 7, 2021
1 parent 7d4a3a6 commit 760dd71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
tag-1.1-20210907b JP
- Fix typo

tag-1.1-20210907 JP
- Switch to .objects.get_or_create for Drupal 3.0

Expand Down
4 changes: 2 additions & 2 deletions bin/route_resource_v3.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ def Write_RSP_Vendor_Software(self, content, contype, config):
'LocalURL': item.get('DrupalUrl', config.get('SOURCEDEFAULTURL', None)),
'CatalogMetaURL': self.CATALOGURN_to_URL(config['CATALOGURN']),
'EntityJSON': item
)
})
local.save()
except Exception as e:
msg = '{} saving local ID={}: {}'.format(type(e).__name__, myGLOBALURN, e)
Expand Down Expand Up @@ -729,7 +729,7 @@ def Write_RSP_Vendor_Software(self, content, contype, config):
'Topics': None,
'Keywords': item['Tags'],
'Audience': self.Affiliation
)
})
resource.save()
if self.ESEARCH:
resource.indexing(relations=myNEWRELATIONS)
Expand Down

0 comments on commit 760dd71

Please sign in to comment.