~danci-emanuel/mailman/messages_support

« back to all changes in this revision

Viewing changes to src/mailman/model/message.py

  • Committer: Emanuel Danci
  • Date: 2012-09-17 21:07:24 UTC
  • Revision ID: danci_emanuel@yahoo.com-20120917210724-60vsruqdx54az1ch
Added the missing part from the messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    message_id = Unicode()
42
42
    message_id_hash = RawStr()
43
43
    path = RawStr()
 
44
    thread_id_dlist = Int()
44
45
    # This is a Messge-ID field representation, not a database row id.
45
46
 
46
47
    @dbconnection
47
 
    def __init__(self, store, message_id, message_id_hash, path):
 
48
    def __init__(self, store, message_id, message_id_hash, path, 
 
49
            thread_id_dlist):
48
50
        super(Message, self).__init__()
49
51
        self.message_id = message_id
50
52
        self.message_id_hash = message_id_hash
51
53
        self.path = path
 
54
        self.thread_id_dlist = thread_id_dlist
52
55
        store.add(self)