Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Validata
Validata UI
Commits
339a191e
Commit
339a191e
authored
Oct 11, 2018
by
Pierre Dittgen
Browse files
print -> log.info
parent
796cb9a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
validata_ui/validate_helper.py
View file @
339a191e
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment