'Create a combined content string from a Revision.'

def content_from_revision(self, revision):

    parts = []
    for field in SPAM_SUBMISSION_REVISION_FIELDS:
        value = (getattr(revision, field) or u'')
        if (field == 'tags'):
            value = self.split_tags(value)
        parts.append(value)
    return u'\n'.join(parts)
