Ejemplo n.º 1
0
def pretty_choice_dict(d):
    """Returns a formatted dict as 'key=value'."""
    return cliutils.pretty_choice_list(
        ['%s=%s' % (k, d[k]) for k in sorted(d.keys())])
Ejemplo n.º 2
0
def pretty_choice_dict(d):
    """Returns a formatted dict as 'key=value'."""
    return cliutils.pretty_choice_list(
        ['%s=%s' % (k, d[k]) for k in sorted(d.keys())])