[Python-modules-commits] r22295 - in packages/pyth/trunk/debian/patches (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Mon Jun 25 04:07:21 UTC 2012


    Date: Monday, June 25, 2012 @ 04:07:19
  Author: eriol-guest
Revision: 22295

Fixed typo

Added:
  packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.patch
    (from rev 22294, packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.path)
Modified:
  packages/pyth/trunk/debian/patches/series
Deleted:
  packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.path

Copied: packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.patch (from rev 22294, packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.path)
===================================================================
--- packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.patch	                        (rev 0)
+++ packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.patch	2012-06-25 04:07:19 UTC (rev 22295)
@@ -0,0 +1,15 @@
+Description: Fixed escaping HTML entities within strings behavior change in
+ python-beautifulsoup 3.2.1.
+Author: Daniele Tricoli <eriol at mornie.org>
+Last-Update: 2012-06-25
+--- a/pyth/plugins/xhtml/reader.py
++++ b/pyth/plugins/xhtml/reader.py
+@@ -55,7 +55,7 @@
+                 text = unicode(node)
+                 lines = [x.strip() for x in text.splitlines()]
+                 text = ' '.join(lines)
+-                node.replaceWith(text)
++                node.replaceWith(BeautifulSoup.BeautifulSoup(text))
+         soup = BeautifulSoup.BeautifulSoup(unicode(soup))
+         # replace all <br/> tag by newline character
+         for node in soup.findAll('br'):

Deleted: packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.path
===================================================================
--- packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.path	2012-06-25 03:55:53 UTC (rev 22294)
+++ packages/pyth/trunk/debian/patches/02_fix-escaping-html-entities-behavior-change.path	2012-06-25 04:07:19 UTC (rev 22295)
@@ -1,15 +0,0 @@
-Description: Fixed escaping HTML entities within strings behavior change in
- python-beautifulsoup 3.2.1.
-Author: Daniele Tricoli <eriol at mornie.org>
-Last-Update: 2012-06-25
---- a/pyth/plugins/xhtml/reader.py
-+++ b/pyth/plugins/xhtml/reader.py
-@@ -55,7 +55,7 @@
-                 text = unicode(node)
-                 lines = [x.strip() for x in text.splitlines()]
-                 text = ' '.join(lines)
--                node.replaceWith(text)
-+                node.replaceWith(BeautifulSoup.BeautifulSoup(text))
-         soup = BeautifulSoup.BeautifulSoup(unicode(soup))
-         # replace all <br/> tag by newline character
-         for node in soup.findAll('br'):

Modified: packages/pyth/trunk/debian/patches/series
===================================================================
--- packages/pyth/trunk/debian/patches/series	2012-06-25 03:55:53 UTC (rev 22294)
+++ packages/pyth/trunk/debian/patches/series	2012-06-25 04:07:19 UTC (rev 22295)
@@ -1,2 +1,2 @@
 01_fix-refactored-PDFWriter-write.patch
-02_fix-escaping-html-entities-behavior-change.path
+02_fix-escaping-html-entities-behavior-change.patch




More information about the Python-modules-commits mailing list