mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
structlog PrintLogger doesn't have the 'fatal' synonym.
This commit is contained in:
parent
60afa62d89
commit
9937378876
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ def take():
|
|||
|
||||
s = core.Source(args.file)
|
||||
if not s.oldver or not s.newver:
|
||||
logger.fatal(
|
||||
logger.critical(
|
||||
"doesn't have both 'oldver' and 'newver' set.", source=s,
|
||||
)
|
||||
sys.exit(2)
|
||||
|
@ -39,7 +39,7 @@ def take():
|
|||
try:
|
||||
oldvers[name] = newvers[name]
|
||||
except KeyError:
|
||||
logger.fatal(
|
||||
logger.critical(
|
||||
"doesn't exist in 'newver' set.", name=name,
|
||||
)
|
||||
sys.exit(2)
|
||||
|
|
Loading…
Add table
Reference in a new issue