log: don't crash getLogger if getting the root logger
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 17 Feb 2015 10:51:34 +0000 (12:51 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 17 Feb 2015 10:56:42 +0000 (12:56 +0200)
commit4a6efd0a6276151f336b300235910e7443904efd
tree95b11362e66e9260ffb5ad2dfcdbdff25bda869c
parent933fa3d4a4aeb20f9ebbdde519f5cdebfdad92cd
log: don't crash getLogger if getting the root logger

The root logger won't have the gbp-specific default_handlers attribute.

Change-Id: I0b81fdfbe70fe16ce3fd226248b83a4f6a17fc7f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/log.py