Fix missing quiet option passing into the analyse module
authorBrian Dolbec <brian.dolbec@gmail.com>
Tue, 25 Jan 2011 08:50:46 +0000 (00:50 -0800)
committerBrian Dolbec <brian.dolbec@gmail.com>
Tue, 25 Jan 2011 08:50:46 +0000 (00:50 -0800)
pym/gentoolkit/analyse/base.py

index d4febdb28276d679d3f7cfb72f1b16a9bb3ea56b..8fe38db3d76635e5b122b296ba60b7d29deef4e3 100644 (file)
@@ -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