Skip to content

Commit

Permalink
Merge pull request #911 from marwoodandrew/bump-requirements
Browse files Browse the repository at this point in the history
Bump requirements for pyyaml
  • Loading branch information
marwoodandrew authored Aug 3, 2023
2 parents 5d2e677 + ee622c3 commit 5f35c8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/data_updates/00014_20180801-143538_vocabularies.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def forwards(self, mongodb_collection, mongodb_database):
if 'schema' in vocabulary:
schema = vocabulary['schema']
for field in ['name', 'qcode']:
if field in vocabulary['schema'] and type(vocabulary['schema']) == dict:
if field in vocabulary['schema'] and isinstance(vocabulary['schema'], dict):
schema[field]['required'] = True
mongodb_collection.update({'_id': vocabulary.get(config.ID_FIELD)},
{'$set': {'schema': schema}})
Expand Down
2 changes: 1 addition & 1 deletion server/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ pytz==2022.5
# icalendar
# superdesk-core
# tzlocal
pyyaml==5.4.1
pyyaml==6.0.1
# via superdesk-core
raven[flask]==6.10.0
# via superdesk-core
Expand Down

0 comments on commit 5f35c8b

Please sign in to comment.