@vm_util.Retry(poll_interval=10, max_retries=100, log_errors=True)
  def _ConfigureProxy(self):
    if FLAGS.http_proxy:
      http_proxy = "sed -i '1i export http_proxy=%s' /etc/bash.bashrc"
      self.RemoteCommand(http_proxy % FLAGS.http_proxy)
    if FLAGS.https_proxy:
      https_proxy = "sed -i '1i export https_proxy=%s' /etc/bash.bashrc"
      self.RemoteCommand(https_proxy % FLAGS.http_proxy)
    if FLAGS.ftp_proxy:
      ftp_proxy = "sed -i '1i export ftp_proxy=%s' /etc/bash.bashrc"
      self.RemoteCommand(ftp_proxy % FLAGS.ftp_proxy)
Write a translation file for a given language.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/mesos/mesos_docker_instance.py/MesosDockerInstance._ConfigureProxy--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/translate.py/write_translations_file