# HG changeset patch # User Jeff Hammel # Date 1332875803 25200 # Node ID bb5f4eeb56c5b90bd3a84156b498943de222ccac # Parent b3db38b145671df1fc3bf2b6d0b3270e2e06d3d5 stub only using parsed attributes diff -r b3db38b14567 -r bb5f4eeb56c5 configuration/config.py --- a/configuration/config.py Tue Mar 27 11:33:09 2012 -0700 +++ b/configuration/config.py Tue Mar 27 12:16:43 2012 -0700 @@ -305,6 +305,10 @@ # get CLI configuration options cli_config = dict([(key, value) for key, value in options.__dict__.items() if key in self.options]) + if hasattr(parser, 'parsed'): + # only use parsed arguments + # (though i'm not sure what to do with parser doesn't have the parsed attribute) + pass # generate configuration self(cli_config)