From c1df24f0c01fdbc98f83b96d28e6af613621ff98 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 22 Oct 2015 19:45:36 +0200 Subject: [PATCH] pylint compliance --- test/test_compilation/test_compilation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_compilation/test_compilation.py b/test/test_compilation/test_compilation.py index 94fe810b..b5ccf3fb 100644 --- a/test/test_compilation/test_compilation.py +++ b/test/test_compilation/test_compilation.py @@ -106,6 +106,6 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): cwd=os.path.dirname(songbook), ) return 0 - except subprocess.CalledProcessError as e: - LOGGER.warning(e.output) - return e.returncode + except subprocess.CalledProcessError as error: + LOGGER.warning(error.output) + return error.returncode