#NEWLINE# def load( path ) : #NEWLINE# #INDENT# 'Loads all config files, including those up the directory path and in the\n  user profile path.\n\n  Args:\n    path: Path to search for the config file.\n\n  Returns:\n    An initialized Config object or None if no config was found.\n  ' #NEWLINE# file_paths = _scan_up_all ( path , _DEFAULT_NAME ) #NEWLINE# file_paths . append ( os . path . expanduser ( ( '~/%s' % _DEFAULT_NAME ) ) ) #NEWLINE# config = ConfigParser . SafeConfigParser ( ) #NEWLINE# config . read ( file_paths ) #NEWLINE# return config