~unity-2d-team/unity-2d/Shell-MultiMonitor

« back to all changes in this revision

Viewing changes to grackle/model.py

  • Committer: William Grant
  • Date: 2012-01-23 02:09:48 UTC
  • Revision ID: william.grant@canonical.com-20120123020948-3s4csog015czk3ni
TestĀ theĀ format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        'from': message.get('from'),
128
128
        'subject': message.get('subject'),
129
129
        'message-id': message.get('message-id'),
 
130
        'content': message.get('content'),
130
131
        }
131
132
 
132
133
 
205
206
        # We've narrowed down the message references. Fetch the messages.
206
207
        ids = [v for k, v in pairs]
207
208
        messages = self.messages.multiget(
208
 
            ids, columns=['date', 'from', 'subject', 'message-id'])
 
209
            ids, columns=['date', 'from', 'subject', 'message-id', 'content'])
209
210
 
210
211
        return (
211
212
            str(pairs[0][0]),