def _GetConfig(self, source):
    try:
      if ('running-config', 'startup-config') in source:
        result = self._Cmd('show %s' % source)
      else:
        raise exceptions.GetConfigError('source argument must be '
                                        '"running-config" or '
                                        '"startup-config".')
      if not result:
        return exceptions.EmptyConfigError('%s has an empty configuration.' %
                                           self.host)
      else:
        return result
    except exceptions.Error as e:
      raise exceptions.GetConfigError('Could not fetch config from %s. %s.' %
                                      (self.host, str(e)))
dataset/ETHPy150Open google/capirca/tools/ldpush/ios.py/IosDevice._GetConfig/swapped operands of `in`