def _WaitForUpdate(self, timeout_secs):
    request_url = METADATA_URL + METADATA_HANG % (timeout_secs, self.etag)
    logging.debug('Getting url: %s', request_url)
    request = urllib2.Request(request_url)
    request.add_header('Metadata-Flavor', 'Google')
    return self.urllib2.urlopen(request, timeout=timeout_secs*1.1)
Makes a hanging get request for the contents of the metadata server.
dataset/ETHPy150Open GoogleCloudPlatform/compute-image-packages/google-daemon/usr/share/google/google_daemon/desired_accounts.py/DesiredAccounts._WaitForUpdate