Fix formatting error in states_to_dot
Fixes the following error by correctly quoting the header: Warning: syntax error in line 1 near 'states' Change-Id: I94fa3b18d355c68674b16f128e477aba8e1b542e
This commit is contained in:
parent
3bdf13db77
commit
072372119a
@ -66,7 +66,7 @@ def main():
|
|||||||
options.filename = 'states.%s' % options.format
|
options.filename = 'states.%s' % options.format
|
||||||
|
|
||||||
source = states.machine
|
source = states.machine
|
||||||
graph_name = "Ironic states"
|
graph_name = '"Ironic states"'
|
||||||
g = pydot.Dot(graph_name=graph_name, rankdir='LR',
|
g = pydot.Dot(graph_name=graph_name, rankdir='LR',
|
||||||
nodesep='0.25', overlap='false',
|
nodesep='0.25', overlap='false',
|
||||||
ranksep="0.5", splines='true',
|
ranksep="0.5", splines='true',
|
||||||
|
Loading…
Reference in New Issue
Block a user