diff options
author | Devan Franchini <twitch153@gentoo.org> | 2014-05-07 18:17:23 -0400 |
---|---|---|
committer | Devan Franchini <twitch153@gentoo.org> | 2014-05-07 18:17:23 -0400 |
commit | 908a64e8598ca8a65fdb1879ed18e69a0d801249 (patch) | |
tree | 7b4e1f436ba3183f02b8dc5891736469cc8eefb3 /layman/config.py | |
parent | remotedb.py: Fix a couple debug noise level settings, (diff) | |
download | layman-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.py | 1 |
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) |