def _check_file_exists(self, local_path):
    full_path = join_path(self.work_dir, local_path)
    if not os.path.isfile(full_path):
      if os.path.exists(full_path):
        raise InvalidOperation("only regular files are supported: '%s'" % full_path)
      else:
        raise InvalidOperation(full_path % "missing file: '%s'")
dataset/ETHPy150Open bloomreach/zinc/zinc.py/CheckoutState._check_file_exists/swapped operands of `%`