use the new add_field() method to define fields

This commit is contained in:
Romain Bignon 2010-10-08 13:43:23 +02:00
commit 92c6507f71
14 changed files with 133 additions and 178 deletions

View file

@ -15,6 +15,8 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
from datetime import datetime
import re
from logging import warning
@ -26,7 +28,7 @@ class Message(object):
self.browser = browser
self.board = board
self.filename = filename
self.datetime = 0
self.datetime = datetime.now()
self.url = url
self.author = u''
self.text = u''