<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def rpm_qf_args(tags=None, separator=';'):
 """ Return the arguments to pass to rpm to list RPMs in the format expected by parse_rpm_output. """


    if tags is None:
        tags = image_component_rpm_tags

    fmt = separator.join(["%%{%s}" % tag for tag in tags])
    return r"-qa --qf '{0}\n'".format(fmt)