From f3dfcec168a3a7b111ce60c79bd32be2ac5203fe Mon Sep 17 00:00:00 2001 From: Luhan Cheng <lche0021@student.monash.edu> Date: Thu, 30 Jan 2020 15:57:13 +1100 Subject: [PATCH] type Former-commit-id: b01185dba55ae3081b57bd326511f5b8be770393 --- CICD/ansiblelint/run_lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CICD/ansiblelint/run_lint.py b/CICD/ansiblelint/run_lint.py index 8564c08d..cea3e7d6 100644 --- a/CICD/ansiblelint/run_lint.py +++ b/CICD/ansiblelint/run_lint.py @@ -13,7 +13,7 @@ def parse_argument(): parser.add_argument('--logdir', type=Path, default=Path( __file__ + '/../logdir').resolve(), nargs='?', help='log directory default to ./ansiblelint/logdir') args = parser.parse_args() - args.logdir.mkdir(exist_ok=True) + args.logdir.mkdir(exist_ok=True) return args def parse_rule_output(line): # (filepath, line, rule, severity, rule_desc) -- GitLab