From 072372119a8d1a2225350957f759e1d359dcb9f8 Mon Sep 17 00:00:00 2001 From: Devananda van der Veen Date: Tue, 24 Mar 2015 03:16:00 -0700 Subject: [PATCH] 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 --- tools/states_to_dot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/states_to_dot.py b/tools/states_to_dot.py index 75f46fc9a4..4fa76fdcf3 100755 --- a/tools/states_to_dot.py +++ b/tools/states_to_dot.py @@ -66,7 +66,7 @@ def main(): options.filename = 'states.%s' % options.format source = states.machine - graph_name = "Ironic states" + graph_name = '"Ironic states"' g = pydot.Dot(graph_name=graph_name, rankdir='LR', nodesep='0.25', overlap='false', ranksep="0.5", splines='true',