def METHOD_NAME(value, msg):
    vals = set([system[value] for host, system in systems])
    if len(vals) > 1:
        info = ', '.join('%s: %s' % (h, system[value]) for h, system in systems)
        warn("%s: %s" % (msg, info))