def __init__(self, cfg_path=None, default=None):
self.__dict__ = self.__shared_state<EOL>if default is None:<EOL><INDENT>default = {}<EOL><DEDENT>if len(self.__shared_state) == <NUM_LIT:0>:<EOL><INDENT>self._cfg_path = cfg_path<EOL>ConfigParser.SafeConfigParser.__init__(self, default)<EOL>self.read_file()<EOL><DEDENT>
Takes config file path and command line arguments.