Added a couple of debug statements to see what's happening
when building the URL.  The url_prefix is fine, but when
we go to append the suffix (bug number) with this line -

url = url_prefix + match_suffix.get_text(match_end)

somehow the character 'u' is being prepended to the 
URL, with the following result:



[   DEBUG:UpdateManager.Util.procesinfo] url_prefix is
'http://bugs.debian.org/'
[   DEBUG:UpdateManager.Util.procesinfo] match_suffix = <GtkTextIter at
0x95a42c0>  match_end = <GtkTextIter at 0x9628878>
[   DEBUG:UpdateManager.Util.procesinfo] url after appending
match_suffix.get_text is u'http://bugs.debian.org/531668'  
[   DEBUG:UpdateManager.Util.procesinfo] tag_link - passed url is
u'http://bugs.debian.org/531668'
[   DEBUG:UpdateManager.Util.procesinfo] url after tag_link is
u'http://bugs.debian.org/531668'
[   DEBUG:UpdateManager.Util.procesinfo] cls = <class
'UpdateManager.Frontend.Gtk.ChangelogViewer.ChangelogViewer'>
[   DEBUG:UpdateManager.Util.procesinfo] url =
u'http://bugs.debian.org/531668'

I don't know if this a problem with buffer wrapping around,
misplaced pointer or what.  If anyone is more familiar with 
the Python GTK module(s) and can shed some light on this
it would be great.   






-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to