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:
Devananda van der Veen 2015-03-24 03:16:00 -07:00
parent 3bdf13db77
commit 072372119a

View File

@ -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',