def ReadAppConfig(appinfo_path, parse_app_config=appinfo_includes.Parse):
 try:
  appinfo_file = file(appinfo_path, 'r')
 except IOError as unused_e:
  raise InvalidAppConfigError(('Application configuration could not be read from "%s"' % appinfo_path))
 try:
  return parse_app_config(appinfo_file)
 finally:
  appinfo_file.close()

def ReadAppConfig ( appinfo_path , parse_app_config = appinfo_includes . Parse ) : try : appinfo_file = file ( appinfo_path , 'r' ) except IOError as unused_e : raise InvalidAppConfigError ( ( 'Application configuration could not be read from "%s"' % appinfo_path ) ) try : return parse_app_config ( appinfo_file ) finally : appinfo_file . close ( )
reads app .