14
0
forked from pool/python-pydot
Files
python-pydot/python-pydot-1.0.28_fix_pyparser_2_incompatibility.patch
Tomáš Chvátal 1da8718100 Accepting request 232538 from home:anubisg1:networking
added python-pydot-1.0.28_fix_pyparser_2_incompatibility.patch to fix incompatibility when using pydot with pyparser 2

OBS-URL: https://build.opensuse.org/request/show/232538
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydot?expand=0&rev=5
2014-05-19 11:47:52 +00:00

15 lines
734 B
Diff

diff --git a/dot_parser.py b/dot_parser.py
index dedd61a..138d152 100644
--- a/dot_parser.py
+++ b/dot_parser.py
@@ -25,8 +25,9 @@ from pyparsing import __version__ as pyparsing_version
from pyparsing import ( nestedExpr, Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore,
Forward, NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, nums,
restOfLine, cStyleComment, nums, alphanums, printables, empty, quotedString,
- ParseException, ParseResults, CharsNotIn, _noncomma, dblQuotedString, QuotedString, ParserElement )
+ ParseException, ParseResults, CharsNotIn, dblQuotedString, QuotedString, ParserElement )
+_noncomma = "".join( [ c for c in printables if c != "," ] )
class P_AttrList: