fix log.warn -> log.warning deprication

This commit is contained in:
Manuel Barkhau 2019-02-21 15:41:26 +01:00
parent 1e633a2a7d
commit 9d837815d7

View file

@ -284,7 +284,7 @@ def parse(ctx: ProjectContext) -> MaybeConfig:
return _parse_config(raw_cfg) return _parse_config(raw_cfg)
except ValueError as ex: except ValueError as ex:
log.warn(f"Couldn't parse {ctx.config_filepath}: {str(ex)}") log.warning(f"Couldn't parse {ctx.config_filepath}: {str(ex)}")
return None return None