From 280079bd0c70e161d2fc259797b2ba3ed7e4b155 Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Tue, 22 Oct 2019 17:40:27 -0500 Subject: [PATCH] Fix call to logger to also work when args are empty --- run-pylint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-pylint.py b/run-pylint.py index 17bd65d..7f88540 100755 --- a/run-pylint.py +++ b/run-pylint.py @@ -73,7 +73,7 @@ def main(): else: args.append(arg) - logger.info("pylint %s", " ".join(shlex.quote(arg) for arg in args)) + logger.info(" ".join(shlex.quote(arg) for arg in ["pylint"] + args)) pylint.lint.Run(args) -- GitLab