'Converts the state of the subfolders to a string
Parameters
state:
a dictionary as returned by mailbox_state
Returns
a string representation of the given state'

def format_text(self, state):

    return self.separator.join(('{0}:    {1}'.format(*item) for item in state.items()))
