def parse_config(config_file=None):
 if (config_file is None):
  config_file = _config_file()
 ret = {}
 if _check_config_exists(config_file):
  with salt.utils.fopen(config_file) as ifile:
   for line in ifile:
    (key, val) = line.split('=')
    ret[key] = val
  return ret
 return 'Could not find {0} on file system'.format(config_file)

def parse_config ( config_file = None ) : if ( config_file is None ) : config_file = _config_file ( ) ret = { } if _check_config_exists ( config_file ) : with salt . utils . fopen ( config_file ) as ifile : for line in ifile : ( key , val ) = line . split ( '=' ) ret [ key ] = val return ret return 'Could not find {0} on file system' . format ( config_file )
parse the zarp config file .