changeset e56c75b2913b in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=e56c75b2913b
description: fix html

diffstat:

 src/conversation_textview.py |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 19932f201272 -r e56c75b2913b src/conversation_textview.py
--- a/src/conversation_textview.py      Fri Jan 11 01:53:09 2013 +0400
+++ b/src/conversation_textview.py      Fri Jan 11 01:54:53 2013 +0400
@@ -999,6 +999,8 @@
         after *last* special text, so we can print it in
         print_conversation_line()
         """
+        if not otext:
+            return
         buffer_ = self.tv.get_buffer()
         if other_tags:
             insert_tags_func = buffer_.insert_with_tags_by_name
@@ -1378,7 +1380,7 @@
                 self.tv.display_html(xhtml, self)
                 return
             except Exception as e:
-                gajim.log.debug('Error processing xhtml' + str(e))
+                gajim.log.debug('Error processing xhtml: ' + str(e))
                 gajim.log.debug('with |' + xhtml + '|')
 
         # /me is replaced by name if name is given
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to