def DoUpload(self):

    pagespeed_yaml = ''
    if self.pagespeed:
      StatusUpdate('Uploading PageSpeed configuration.')
      pagespeed_yaml = self.pagespeed.ToYAML()
    try:
      self.rpcserver.Send('/api/appversion/updatepagespeed',
                          app_id=self.config.application,
                          version=self.config.version,
                          payload=pagespeed_yaml)
    except urllib2.HTTPError, err:









      if err.code != 404 or self.pagespeed is not None:
        raise
Uploads the pagespeed entries.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/appcfg.py/PagespeedEntryUpload.DoUpload