aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2014-02-18 19:09:42 -0800
committerBrian Dolbec <dolsen@gentoo.org>2014-02-18 19:09:42 -0800
commitdc4ea0ab56c1849c0f64d72762bd66c74ae0a522 (patch)
tree177f7987a9bc6aac3a97a630a84bacf750560e1c
parentrevdep_rebuild/assign.py: Downgrade a logging.info message to logging.debug (diff)
downloadgentoolkit-dc4ea0ab56c1849c0f64d72762bd66c74ae0a522.tar.gz
gentoolkit-dc4ea0ab56c1849c0f64d72762bd66c74ae0a522.tar.bz2
gentoolkit-dc4ea0ab56c1849c0f64d72762bd66c74ae0a522.zip
revdep_rebuild/assign.py: Improve a couple logger messages formatting.
-rw-r--r--pym/gentoolkit/revdep_rebuild/assign.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/assign.py b/pym/gentoolkit/revdep_rebuild/assign.py
index 53e480d..412ed49 100644
--- a/pym/gentoolkit/revdep_rebuild/assign.py
+++ b/pym/gentoolkit/revdep_rebuild/assign.py
@@ -76,8 +76,8 @@ def get_best_match(cpv, cp, logger):
"""
slot = portage.db[portage.root]["vartree"].dbapi.aux_get(cpv, ["SLOT"])[0]
- logger.warn('\t' + yellow('Warning: ebuild "' + cpv + '" not found.'))
- logger.debug('\tLooking for %s:%s' %(cp, slot))
+ logger.warn('\t%s "%s" %s.' % (yellow('* Warning:'), cpv,bold('ebuild not found.')))
+ logger.debug('\tget_best_match(); Looking for %s:%s' %(cp, slot))
try:
match = portdb.match('%s:%s' %(cp, slot))
except portage.exception.InvalidAtom: