From 30f3c73dcb12f93204e0f11f7fcae597772ba2a0 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 22 May 2006 14:27:35 -0400 Subject: [PATCH] Add some comments; retry icon requests after a bit --- sugar/chat/chat.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sugar/chat/chat.py b/sugar/chat/chat.py index c25585f6..c6454827 100755 --- a/sugar/chat/chat.py +++ b/sugar/chat/chat.py @@ -322,6 +322,7 @@ class Chat(activity.Activity): buf.insert(aniter, "\n") def _get_first_richtext_chunk(self, msg): + """Scan the message for the first richtext-tagged chunk and return it.""" rt_last = -1 tag_rt_start = "" tag_rt_end = "" @@ -335,6 +336,7 @@ class Chat(activity.Activity): return None def _get_first_sketch_chunk(self, msg): + """Scan the message for the first SVG-tagged chunk and return it.""" svg_last = -1 tag_svg_start = "