def SetConfig(self, destination_file, data, canary,
                juniper_skip_show_compare=False,
                juniper_skip_commit_check=False,
                juniper_get_rollback_patch=False):
    if destination_file in self.unsupported_non_file_destinations:
      raise exceptions.SetConfigError(
          '%s devices do not support %s as a destination.' %
          (self.vendor_name, destination_file))
    if ((juniper_skip_show_compare or
         juniper_skip_commit_check or
         juniper_get_rollback_patch) and
        self.__class__.__name__ == 'JunosDevice'):
      return self._SetConfig(destination_file, data, canary,
                             skip_show_compare=juniper_skip_show_compare,
                             skip_commit_check=juniper_skip_commit_check,
                             get_rollback_patch=juniper_get_rollback_patch)
    else:
      return self._SetConfig(destination_file, data, canary)
Returns whether or not we determine a distribution is zip-safe.
dataset/ETHPy150Open google/capirca/tools/ldpush/base_device.py/BaseDevice.SetConfig--crossover with--dataset/ETHPy150Open pantsbuild/pex/pex/util.py/DistributionHelper.zipsafe