Skip to content

Commit

Permalink
Elimino print del error en caso de fallo de is_valid_catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
capitantoto committed Nov 23, 2016
1 parent b53be17 commit 06be3a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pydatajson/pydatajson.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ def is_valid_catalog(self, datajson_path):
"""
try:
self.validate_catalog(datajson_path)
except jsonschema.ValidationError as error:
print(error)
except jsonschema.ValidationError:
return False
else:
return True
Expand Down

0 comments on commit 06be3a7

Please sign in to comment.