r951 - in /python-xml/trunk: debian/changelog demo/xbel/bookmark.py

lunar at users.alioth.debian.org lunar at users.alioth.debian.org
Wed Jul 18 11:16:15 UTC 2007


Author: lunar
Date: Wed Jul 18 11:16:15 2007
New Revision: 951

URL: http://svn.debian.org/wsvn/pkg-zope/?sc=1&rev=951
Log:
  (Closes: #390471)
* Fix an encoding issue when converting from xbel to netscape by removing
  a mixed conversion of ascii and unicode strings in Folder.dump_netscape.
  (Closes: #409779)

Modified:
    python-xml/trunk/debian/changelog
    python-xml/trunk/demo/xbel/bookmark.py

Modified: python-xml/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-zope/python-xml/trunk/debian/changelog?rev=951&op=diff
==============================================================================
--- python-xml/trunk/debian/changelog (original)
+++ python-xml/trunk/debian/changelog Wed Jul 18 11:16:15 2007
@@ -3,9 +3,12 @@
   * xmlproc should not fail on elliptical doctype declaration.  Thanks for
     Dominique Hazael-Massieux for the patch.  (Closes: #428839)
   * Do not ship LaTeX source for xml-howto and xml-ref anymore.
-    (Closes: #390471) 
-
- -- Jérémy Bobbio <lunar at debian.org>  Wed, 18 Jul 2007 12:34:06 +0200
+    (Closes: #390471)
+  * Fix an encoding issue when converting from xbel to netscape by removing
+    a mixed conversion of ascii and unicode strings in Folder.dump_netscape.
+    (Closes: #409779)
+
+ -- Jérémy Bobbio <lunar at debian.org>  Wed, 18 Jul 2007 13:14:20 +0200
 
 python-xml (0.8.4-7) unstable; urgency=low
 

Modified: python-xml/trunk/demo/xbel/bookmark.py
URL: http://svn.debian.org/wsvn/pkg-zope/python-xml/trunk/demo/xbel/bookmark.py?rev=951&op=diff
==============================================================================
--- python-xml/trunk/demo/xbel/bookmark.py (original)
+++ python-xml/trunk/demo/xbel/bookmark.py Wed Jul 18 11:16:15 2007
@@ -228,8 +228,8 @@
             added = ' ADD_DATE="%s"' % self.added
         else:
             added = ""
-        out.write("  <DT><H3%s%s%s>%s</H3>\n" %
-                  (folded,added,ID,esc_enc(self.title)))
+        out.write("  <DT><H3%s%s%s>" % (folded,added,ID))
+        out.write("%s</H3>\n" % esc_enc(self.title))
         if self.desc:
             out.write("  <DD>%s\n" %
                       (esc_enc(self.desc)))




More information about the pkg-zope-commits mailing list