From b28fa9409dedf60b125dd308995b0586100cb9ba Mon Sep 17 00:00:00 2001 From: checktheroads Date: Mon, 17 Jun 2019 01:20:22 -0700 Subject: [PATCH] added debug loggers --- manage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manage.py b/manage.py index c0e6649..8222259 100755 --- a/manage.py +++ b/manage.py @@ -52,9 +52,11 @@ def pylint_badge(int_only): from pylint import epylint pylint_stdout, pylint_stderr = epylint.py_run("hyperglass", return_std=True) + pylint_output = pylint_stdout.getvalue() + logger.debug(pylint_output) pylint_score = re.search( r"Your code has been rated at (\d+\.\d+)\/10 \(previous run:.*", - pylint_stdout.getvalue(), + pylint_output, ).group(1) if not pylint_score == "10.00": raise RuntimeError(f"Pylint score {pylint_score} not acceptable.")