Browse Source

Clean code

pull/132/head
Oliverpool 9 years ago
parent
commit
c2d44df20a
  1. 2
      patacrep/songbook/__main__.py
  2. 2
      test/test_compilation/test_compilation.py

2
patacrep/songbook/__main__.py

@ -14,7 +14,7 @@ from patacrep import errors
import patacrep.encoding
# Logging configuration
logging.basicConfig(level=logging.DEBUG)
logging.basicConfig(level=logging.INFO)
LOGGER = logging.getLogger()
# pylint: disable=too-few-public-methods

2
test/test_compilation/test_compilation.py

@ -108,4 +108,4 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest):
return 0
except subprocess.CalledProcessError as e:
LOGGER.warning(e.output)
return e.returncode
return e.returncode

Loading…
Cancel
Save