Commit 339a191e authored by Pierre Dittgen's avatar Pierre Dittgen

print -> log.info

parent 796cb9a3
......@@ -12,6 +12,9 @@ from validata_validate import validate
#
# MEMENTO: json.load(pkg_resources.resource_stream('validata_validate', 'spec.json'))
#
import logging
log = logging.getLogger(__name__)
class ValidatorHelper:
......@@ -24,7 +27,7 @@ class ValidatorHelper:
""" Register and download schema and custom_checks info """
cls.schema_dict = {}
for code in schema_info:
print('Downloading schema {}'.format(code))
log.info('Downloading schema %s', code)
schema = schema_info[code].copy()
# schema download
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment