def expandtargets(self, source_glob, target):
        if not isdirname(target) and ("*" in source_glob or
                                      source_glob in "?"):
            raise SymlinkError(
                "Invalid symlink: {0} => {1} (did you mean to add a "
                "trailing '/'?)".format(source_glob, target)
            )

        mkdir_p(os.path.dirname(os.path.expanduser(target)))
        sources = iglob(os.path.join(self.symlink_dir, source_glob))
        expanded = []
        for source in sources:
            source = os.path.join(self.cider_dir, source)
            source_target = self.expandtarget(source, target)

            expanded.append((source, source_target))
        return expanded
dataset/ETHPy150Open msanders/cider/cider/core.py/Cider.expandtargets/swapped operands of `in`