Bug#546837: More debug

Julian Andres Klode jak at debian.org
Sun May 23 20:01:12 UTC 2010


On Sun, May 23, 2010 at 03:35:10PM -0400, Dominique Brazziel wrote:
> 	Things keep getting odder and odder with this text parsing.
> match_suffix.get_text(end) returns u'NNNNNN', where 'NNNNNN' is the
> bug number, but when the string is appended to the url_prefix,
> the 'u' appears in the first position of the array.  Both cases
> the 'u' is unquoted:
> 
> [   DEBUG:UpdateManager.Util.procesinfo] url_prefix is
> 'http://bugs.debian.org/'
> [   DEBUG:UpdateManager.Util.procesinfo] match_suffix = <GtkTextIter at
> 0xa620018>  match_end = <GtkTextIter at 0xa620050>
> [   DEBUG:UpdateManager.Util.procesinfo]
> match_suffix.get_text(match_end) returned u'531668'  <== u before bug #
> [   DEBUG:UpdateManager.Util.procesinfo] url after appending
> match_suffix.get_text is u'http://bugs.debian.org/531668'  <== huh?
> 
> Is the u some sort of attribute, for instance denoting underline?

http://docs.python.org/tutorial/introduction.html#unicode-strings
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100523/19b8ec64/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list