def package_names(self):
        """Return a set of names of all packages for this component."""
        names = set()
        for pack in self.packages:
            try:
                names.add(pack["name"])
            except KeyError:
                pass
        daemon_to_package = self.get_option("daemon_to_package")
        if not daemon_to_package:
            daemon_to_package = {}
        for key in self.subsystem_names():
            try:
                names.add(daemon_to_package[key])
            except KeyError:
                names.add((self.name, key) % "openstack-%s-%s")
        return names
dataset/ETHPy150Open openstack/anvil/anvil/components/base.py/Component.package_names/swapped operands of `%`