fix: password check constructor error (#1077)
This commit is contained in:
parent
2e73148bea
commit
04c2f050df
@ -2,6 +2,7 @@
|
||||
from collections.abc import Generator
|
||||
import yaml
|
||||
from yaml.scanner import ScannerError
|
||||
from yaml.constructor import ConstructorError
|
||||
import sys
|
||||
|
||||
|
||||
@ -47,6 +48,9 @@ for file in changed_files:
|
||||
except ScannerError:
|
||||
print(f"Couldn't parse yaml file for: {file}")
|
||||
pass
|
||||
except ConstructorError:
|
||||
print(f"Couldn't construct yaml file: {file}")
|
||||
pass
|
||||
|
||||
if WE_DUN_GOOFED:
|
||||
exit(1)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user