Skip to content

Commit

Permalink
Fixed unwanted printing project
Browse files Browse the repository at this point in the history
  • Loading branch information
khoroshevskyi committed Jul 5, 2023
1 parent db10d78 commit ae2bbd5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.

## [0.2.1] - 2023-07-05

### Changed
- printing project to logger.debug

## [0.2.0] - 2023-06-21

Expand Down
2 changes: 1 addition & 1 deletion eido/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.0"
__version__ = "0.2.1"
2 changes: 1 addition & 1 deletion eido/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _validate_object(object, schema, sample_name_colname=False):
:raises EidoValidationError: if validation is unsuccessful
"""
validator = Draft7Validator(schema)
print(object, schema)
_LOGGER.debug(f"{object},\n {schema}")
if not validator.is_valid(object):
errors = sorted(validator.iter_errors(object), key=lambda e: e.path)
errors_by_type = {}
Expand Down

0 comments on commit ae2bbd5

Please sign in to comment.