Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit 1c30938

Browse files
committed
Revert "Fixes syntax error in older versions of graphviz."
This reverts commit 1368677 since it introduced a lot regressions in pydot_ng when creating and rendering dotfiles. It caused too much quotes to be added to DOT representation of the graph which made graphs broken.
1 parent ceea7ed commit 1c30938

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pydot_ng/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,6 @@ def needs_quotes(s):
243243

244244

245245
def quote_if_necessary(s):
246-
# Older versions of graphviz throws a syntax error for empty values without
247-
# quotes, e.g. [label=]
248-
if s == '':
249-
return '""'
250246

251247
if isinstance(s, bool):
252248
if s is True:

0 commit comments

Comments
 (0)