default type of threads is IS_THREADS

This commit is contained in:
Romain Bignon 2013-04-06 23:18:59 +02:00
commit 8cb2bf07db

View file

@ -144,7 +144,7 @@ class Thread(_Thread):
root = Field('Root message', Message)
title = StringField('Title of thread')
date = DateField('Date of thread')
flags = IntField('Flags (IS_* constants)', default=0)
flags = IntField('Flags (IS_* constants)', default=IS_THREADS)
def iter_all_messages(self):
"""