def show_dictionary(name,d):
    """
    Print the contents of a dictionary
    """
    text = ["[%s]" % name]
    for key in d:
        text.append("\t%s = %s" % (key,(d[key] if d[key] is not None
                                        else '<Not set>')))
    return '\n'.join(text)