google-code-export / pydot

Automatically exported from code.google.com/p/pydot
MIT License
1 stars 0 forks source link

":" not working in node name when not pydot.needs_quote(name) #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
>>> import pydot
>>> pydot.Node('a:').get_name()
'a'

What is the expected output?
'a:'

What do you see instead?
'a'

What version of the product are you using? On what operating system?
pydot-1.0.25 / GNU/Linux

Please provide any additional information below.

This works when pydot.needs_quotes(name). For example, it will work when name 
== ":a".

Original issue reported on code.google.com by pierre.l...@gmail.com on 26 May 2011 at 8:09

GoogleCodeExporter commented 9 years ago

Original comment by ero.carr...@gmail.com on 30 Dec 2011 at 12:12

GoogleCodeExporter commented 9 years ago
fixed in revision 28

Original comment by ero.carr...@gmail.com on 2 Jan 2012 at 11:55