(proxy=CORP_PROXY, enable=True)
Sets the system proxy to the specified value.
Sets the system proxy to the specified value.
Sets the system proxy to the specified value .
def ConfigureSystemProxy(proxy=CORP_PROXY, enable=True):
  """Sets the system proxy to the specified value."""
  scd_prefs = SCDynamicPreferences()
  if not scd_prefs.SetProxy(enable=enable, pac=proxy):
    logging.error('Could not change proxy settings.')
def ConfigureSystemProxy ( proxy = CORP_PROXY , enable = True ) : scd_prefs = SCDynamicPreferences ( ) if not scd_prefs . SetProxy ( enable = enable , pac = proxy ) : logging . error ( 'Could not change proxy settings.' )