def repolist(self, repoq, qf='%{repoid}'):
    cmd = (repoq + ['--qf', qf, '-a'])
    (rc, out, _) = self.module.run_command(cmd)
    if (rc == 0):
        return set((p for p in out.split('\n') if p.strip()))
    else:
        return []
def repolist(self, repoq, qf='%{repoid}'):
    cmd = (repoq + ['--qf', qf, '-a'])
    (rc, out, _) = self.module.run_command(cmd)
    if (rc == 0):
        return set((p for p in out.split('\n') if p.strip()))
    else:
        return []