def update_group(self, name_or_id, name=None, description=None):
        self.list_groups.invalidate(self)
        group = self.get_group(name_or_id)
        if group is None:
            raise OpenStackCloudException(
                "Group {0} not found for updating".format(name_or_id)
            )

        with _utils.shade_exceptions(
            "Unable to update group {name}".format(name=name_or_id)
        ):
            group = self.manager.submitTask(_tasks.GroupUpdate(
                group=group['id'], name=name, description=description))

        self.list_groups.invalidate(self)
        return _utils.normalize_groups([group])[0]
convert git diff data to html/bootstrap color code
dataset/ETHPy150Open openstack-infra/shade/shade/operatorcloud.py/OperatorCloud.update_group--crossover with--dataset/ETHPy150Open recipy/recipy/recipyGui/__init__.py/colordiff