From: Brian Dolbec Date: Tue, 25 Jan 2011 08:50:46 +0000 (-0800) Subject: Fix missing quiet option passing into the analyse module X-Git-Tag: gentoolkit-0.3.0~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=291164632c4f154019f95cd7e35374b03b5d0579;p=gentoolkit.git Fix missing quiet option passing into the analyse module --- diff --git a/pym/gentoolkit/analyse/base.py b/pym/gentoolkit/analyse/base.py index d4febdb..8fe38db 100644 --- a/pym/gentoolkit/analyse/base.py +++ b/pym/gentoolkit/analyse/base.py @@ -22,7 +22,7 @@ from getopt import gnu_getopt, GetoptError import gentoolkit.pprinter as pp from gentoolkit.formatters import format_options from gentoolkit.base import mod_usage - +from gentoolkit import CONFIG class ModuleBase(object): """Analyse base module class to parse module options print module help, etc..""" @@ -87,6 +87,7 @@ class ModuleBase(object): self.print_help(with_description=False) sys.exit(2) self.options[opt_name] = val + self.options['quiet'] = CONFIG["quiet"] if self.options['quiet']: self.options['verbose'] = False