Use logging from gbp and delete the msger module
authorEd Bartosh <eduard.bartosh@intel.com>
Wed, 14 Nov 2012 16:32:34 +0000 (18:32 +0200)
committerEd Bartosh <eduard.bartosh@intel.com>
Thu, 6 Dec 2012 11:02:38 +0000 (13:02 +0200)
commit70dbf22e5196d54878eac9f9344578b619237721
tree4ef46dc16bdf1dab813b86710521bee7d5329ea6
parent5a6fee91baa48529e1362271755171c10c69b5c8
Use logging from gbp and delete the msger module

As gbs already depends on gbp it makes sense to use its logging facility
instead of msger, which is copy&pasted from another project. Gbp logging
is based on standard Python logging functionality. It basically only
adds color output to it. This change adds a minimal functionality to the
'gitbuildsys.log' module to act as a GBS-specific logger.

This change is also takes more than 400 lines of code from the project
and decreases amount of pylint errors on more than 30% (120->84)

Change-Id: I4bd4d2b9299bf7aa79d5ea9da182312d53e8c3ff
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
16 files changed:
gitbuildsys/cmd_build.py
gitbuildsys/cmd_changelog.py
gitbuildsys/cmd_chroot.py
gitbuildsys/cmd_export.py
gitbuildsys/cmd_import.py
gitbuildsys/cmd_remotebuild.py
gitbuildsys/cmd_submit.py
gitbuildsys/conf.py
gitbuildsys/log.py
gitbuildsys/msger.py [deleted file]
gitbuildsys/oscapi.py
gitbuildsys/runner.py
gitbuildsys/utils.py
tests/test_changelog.py
tests/test_import.py
tools/gbs