~rashi007/mailman/docsfix

« back to all changes in this revision

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

  • Committer: Barry Warsaw
  • Date: 2014-12-02 03:02:08 UTC
  • mto: (7264.4.22 py3)
  • mto: This revision was merged to the branch mainline in revision 7285.
  • Revision ID: barry@list.org-20141202030208-45txxq70yn98uz9m
test_requests succeeds now, after changing some LargeBinary columns into
Unicode columns.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    'Message',
25
25
    ]
26
26
 
27
 
from sqlalchemy import Column, Integer, LargeBinary, Unicode
 
27
from sqlalchemy import Column, Integer, Unicode
28
28
from zope.interface import implementer
29
29
 
30
30
from mailman.database.model import Model
42
42
    id = Column(Integer, primary_key=True)
43
43
    # This is a Messge-ID field representation, not a database row id.
44
44
    message_id = Column(Unicode)
45
 
    message_id_hash = Column(LargeBinary)
46
 
    path = Column(LargeBinary)
 
45
    message_id_hash = Column(Unicode)
 
46
    path = Column(Unicode)
47
47
 
48
48
    @dbconnection
49
49
    def __init__(self, store, message_id, message_id_hash, path):