aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2014-05-07 18:17:23 -0400
committerDevan Franchini <twitch153@gentoo.org>2014-05-07 18:17:23 -0400
commit908a64e8598ca8a65fdb1879ed18e69a0d801249 (patch)
tree7b4e1f436ba3183f02b8dc5891736469cc8eefb3 /layman/config.py
parentremotedb.py: Fix a couple debug noise level settings, (diff)
downloadlayman-908a64e8598ca8a65fdb1879ed18e69a0d801249.tar.gz
layman-908a64e8598ca8a65fdb1879ed18e69a0d801249.tar.bz2
layman-908a64e8598ca8a65fdb1879ed18e69a0d801249.zip
layman/{config, constants, output}.py: Adds notice level.
The -q flag setting was being ignored by output.notice() calls. Adding note_level to the output.notice() function makes it so that the output will be quieted, if desired. X-Gentoo-Bug: 457726 X-Gentoo-Bug-URL: https://bugs.gentoo.org/457726
Diffstat (limited to 'layman/config.py')
-rw-r--r--layman/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/layman/config.py b/layman/config.py
index 576ed05..bf33f50 100644
--- a/layman/config.py
+++ b/layman/config.py
@@ -228,6 +228,7 @@ class BareConfig(object):
def _set_quietness(self, value):
self._options['output'].set_info_level(value)
self._options['output'].set_warn_level(value)
+ self._options['output'].set_note_level(value)
def __getitem__(self, key):
return self._get_(key)