From 9ea962eecd4895d0809e9a6fb3133ceab1a0885b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 14 Jun 2008 18:57:43 +0200 Subject: [PATCH] Fix typo for issue122 --- tryton/common/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/common/common.py b/tryton/common/common.py index e3df7ab048..63ec668c85 100644 --- a/tryton/common/common.py +++ b/tryton/common/common.py @@ -296,7 +296,7 @@ def send_bugtracker(msg, parent): msg_md5 = md5.new(msg).hexdigest() # use the last line of the message as title title = '[no title]' - for line in msg.splitline(): + for line in msg.splitlines(): #don't use empty line nor ^ from sql error if line and '^' != line.strip(): title = line