cudadog / pydot

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

If the program parameter to the graph.write() method is a list then the script Errors out #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. g = Dot(graph_name='G',graph_type='digraph',strict=True,overlap=False)
2. program=['fdp','-Nshape=oval']
3. g.write('g.pdf',prog=program,format='pdf')

What is the expected output? What do you see instead?

The output file should be created but instead the script errors out

What version of the product are you using? On what operating system?

Pydot 1.0.25 , Windows , Python 2.7

Please provide any additional information below.

    I have patched it up in my local pydot module.

    Please, provide the commit access to commit the changes.

Original issue reported on code.google.com by h.gokuln...@gmail.com on 28 Dec 2011 at 5:29

GoogleCodeExporter commented 9 years ago

Original comment by ero.carr...@gmail.com on 2 Jan 2012 at 10:59