def _ParseAppYaml(self, basepath):
    appyaml_filename = self._FindYaml(basepath, 'app')
    if appyaml_filename is None:
      self.parser.error('Directory does not contain an app.yaml '
                        'configuration file.')

    fh = open(appyaml_filename, 'r')
    try:
      appyaml = appinfo.LoadSingleAppInfo(fh)
    finally:
      fh.close()
    orig_application = appyaml.application
    orig_version = appyaml.version
    if self.options.app_id:
      appyaml.application = self.options.app_id
    if self.options.version:
      appyaml.version = self.options.version
    msg = 'Application: %s' % appyaml.application
    if appyaml.application != orig_application:
      msg += ' (was: %s)' % orig_application
    msg += '; version: %s' % appyaml.version
    if appyaml.version != orig_version:
      msg += ' (was: %s)' % orig_version
    msg += '.'
    StatusUpdate(msg)
    return appyaml
Render the weights configuration panel
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/AppCfgApp._ParseAppYaml--crossover with--dataset/ETHPy150Open Net-ng/kansha/kansha/board/view.py/render_boardweights_edit