# HG changeset patch # User Jeff Hammel # Date 1354662787 28800 # Node ID 1d6ac93d1d79509a14ccde0aaee0ee5b9c046449 # Parent dd3480af4cd5082c844b179afb842d0b689b8780 begin to break this up diff -r dd3480af4cd5 -r 1d6ac93d1d79 configuration/configuration.py --- a/configuration/configuration.py Tue Dec 04 15:01:28 2012 -0800 +++ b/configuration/configuration.py Tue Dec 04 15:13:07 2012 -0800 @@ -236,8 +236,9 @@ """declarative configuration object""" options = {} # configuration basis definition + extend = set() # which dicts/lists should be extended load_option = 'load' # where to put the load option - extend = set() # if dicts/lists should be extended + load_help = "load configuration from a file" def __init__(self, configuration_providers=configuration_providers, types=types, load=None, dump='--dump', **parser_args): @@ -275,8 +276,9 @@ # add option(s) for configuration_providers if load: self.add_option(load, - dest=self.load_option, action='append', - help="load configuration from a file") + dest=self.load_option, + action='append', + help=self.load_help) # add an option for dumping formats = self.formats()