def relink(self, force=None):
        force = force if force is not None else False
        symlinks = self.read_bootstrap().get("symlinks", {})
        old_targets = self._cached_targets()
        new_targets = []

        for source_glob, target in symlinks.items():
            for source, expanded_target in self.expandtargets(source_glob,
                                                              target):
                if self.mklink(source, expanded_target, force):
                    new_targets.append(expanded_target)

        self._remove_dead_targets(set(new_targets) - set(old_targets))
        self._update_target_cache(new_targets)
        return new_targets
dataset/ETHPy150Open msanders/cider/cider/core.py/Cider.relink/swapped operands of `-`