def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def _swdb_group_install(self, group_id, pkg_types, pkgs):
        swdb_group = self._create_swdb_group(group_id, pkg_types, pkgs)

        if swdb_group is not None:
            self._base.history.group.install(swdb_group)