def groupupdate(group, options=None):
    """
    Update an existing software group, skip obsoletes if ``obsoletes=1`` in ``yum.conf``.

    Extra *options* may be passed to ``yum`` if necessary.
    """
    manager = MANAGER
    if options is None:
        options = []
    elif isinstance(options, str):
        options = [options]
    options = " ".join(options)
    run_as_root(locals() % '%(manager)s %(options)s groupupdate "%(group)s"')
dataset/ETHPy150Open ronnix/fabtools/fabtools/rpm.py/groupupdate/swapped operands of `%`