[Python-modules-commits] r28279 - in packages/pydot/trunk/debian (3 files)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sat Mar 22 12:35:40 UTC 2014
Date: Saturday, March 22, 2014 @ 12:35:39
Author: morph
Revision: 28279
* debian/patches/handle-double-quoted-strings-with-escaped-quotes.patch
- proper handle of double quoted strings with escaped quotes
Added:
packages/pydot/trunk/debian/patches/handle-double-quoted-strings-with-escaped-quotes.patch
Modified:
packages/pydot/trunk/debian/changelog
packages/pydot/trunk/debian/patches/series
Modified: packages/pydot/trunk/debian/changelog
===================================================================
--- packages/pydot/trunk/debian/changelog 2014-03-21 19:14:46 UTC (rev 28278)
+++ packages/pydot/trunk/debian/changelog 2014-03-22 12:35:39 UTC (rev 28279)
@@ -27,13 +27,15 @@
* debian/patches/support-pyparsing-v2.patch
- support pyparsing v2 module; Closes: #729085
* Support Python3; Closes: #739858
+ * debian/patches/handle-double-quoted-strings-with-escaped-quotes.patch
+ - proper handle of double quoted strings with escaped quotes
[ Jakub Wilk ]
* Use canonical URIs for Vcs-* fields.
* Remove DM-Upload-Allowed; it's no longer used by the archive
software.
- -- Sandro Tosi <morph at debian.org> Thu, 20 Mar 2014 22:02:51 +0100
+ -- Sandro Tosi <morph at debian.org> Fri, 21 Mar 2014 22:26:33 +0100
pydot (1.0.2-1) unstable; urgency=low
Added: packages/pydot/trunk/debian/patches/handle-double-quoted-strings-with-escaped-quotes.patch
===================================================================
--- packages/pydot/trunk/debian/patches/handle-double-quoted-strings-with-escaped-quotes.patch (rev 0)
+++ packages/pydot/trunk/debian/patches/handle-double-quoted-strings-with-escaped-quotes.patch 2014-03-22 12:35:39 UTC (rev 28279)
@@ -0,0 +1,18 @@
+Description: Properly handle double quoted strings with escaped quotes
+Author: Christopher Durden <cdurden at gmail.com>
+Origin: upstream
+Bug: https://code.google.com/p/pydot/issues/detail?id=82
+Last-Update: 2014-03-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/dot_parser.py
++++ b/dot_parser.py
+@@ -413,7 +413,7 @@ def graph_definition():
+
+ identifier = Word(alphanums + "_." ).setName("identifier")
+
+- double_quoted_string = QuotedString('"', multiline=True, unquoteResults=False) # dblQuotedString
++ double_quoted_string = QuotedString('"', multiline=True, escChar='\\', unquoteResults=False) # dblQuotedString
+
+ alphastring_ = OneOrMore(CharsNotIn(_noncomma + ' '))
+
Modified: packages/pydot/trunk/debian/patches/series
===================================================================
--- packages/pydot/trunk/debian/patches/series 2014-03-21 19:14:46 UTC (rev 28278)
+++ packages/pydot/trunk/debian/patches/series 2014-03-22 12:35:39 UTC (rev 28279)
@@ -1,3 +1,4 @@
01-setup-py-nodata.patch
support-pyparsing-v2.patch
support-py3k.patch
+handle-double-quoted-strings-with-escaped-quotes.patch
More information about the Python-modules-commits
mailing list