changeset 127:1c3ba645a69b

configuration/configuration.py
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 17 Sep 2013 23:40:50 -0700
parents 82151d79e117
children ee8fcdda1fd2
files configuration/configuration.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configuration/configuration.py	Tue Sep 17 23:35:26 2013 -0700
+++ b/configuration/configuration.py	Tue Sep 17 23:40:50 2013 -0700
@@ -593,10 +593,10 @@
     """`Configuration` class driven by a config file in user-space"""
 
     # configuration items to interpolate as paths
-    # TODO: moar bettur!
+    # TODO: integrate with above BaseCLI
     paths = []
 
-    def __init__(self, config=None, load='--config'):
+    def __init__(self, config=None, load='--config', **kwargs):
 
         # default configuration file
         self.config_name = config or '.' + os.path.splitext(sys.argv[0])[0]
@@ -605,7 +605,7 @@
         if os.path.exists(self.default_config_file_path):
             self.load_help += ' [DEFAULT: %s]' % self.default_config_file
 
-        Configuration.__init__(self, usage=self.usage, load=load)
+        Configuration.__init__(self, load=load, **kwargs)
 
     def validate(self):
         Configuration.validate(self)