mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-15 20:04:41 -04:00
CI: adapt schema tool to recent releases of pyyaml
Don't import a specific draft validator (it isn't used anyway, and the validator is picked up from the schema's version)
This commit is contained in:
parent
350be92cd1
commit
82b5d50c34
1 changed files with 0 additions and 1 deletions
|
@ -48,7 +48,6 @@ ERR_IMPORT, ERR_USAGE, ERR_FILE_NOT_FOUND, ERR_SYNTAX, ERR_INVALID = range(1,6)
|
|||
#
|
||||
try:
|
||||
from jsonschema import validate, SchemaError, ValidationError
|
||||
from jsonschema import draft7_format_checker
|
||||
from yaml import safe_load, YAMLError
|
||||
except ImportError as e:
|
||||
print(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue