diff --git a/CHANGELOG.md b/CHANGELOG.md index 709b3d5..898c09f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.7.4] - 2019-10-31 + ### Fixed - Needed dependencies were removed. Put back Python Dependencies until we can properly review which ones can be removed and which cant. https://github.com/open-contracting/lib-cove-ocds/issues/31 +- Don't error when looking up a path on a empty schema (e.g. due to broken refs) ## [0.7.3] - 2019-09-23 diff --git a/libcoveocds/lib/common_checks.py b/libcoveocds/lib/common_checks.py index 2962314..1c25541 100644 --- a/libcoveocds/lib/common_checks.py +++ b/libcoveocds/lib/common_checks.py @@ -354,6 +354,8 @@ def _lookup_schema(schema, path, ref_info=None): return _lookup_schema(schema['properties'][path_item], child_path, ref_info) else: return None, None + else: + return None, None def lookup_schema(schema, path): diff --git a/setup.py b/setup.py index eea66f2..7227e8d 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='libcoveocds', - version='0.7.3', + version='0.7.4', author='Open Data Services', author_email='data@open-contracting.org', url='https://github.com/open-contracting/lib-cove-ocds',