summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-01-24 13:49:46 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-01-24 13:49:46 +0000
commit5db7ac37fbd395e39614422133b95ff659db316e (patch)
tree4200d81b9311ab81435ff5b4defb0cdbe2c4856c
parentd40712a030306d98e67fdfe6301bd71f280fd110 (diff)
downloadbcfg2-5db7ac37fbd395e39614422133b95ff659db316e.tar.gz
bcfg2-5db7ac37fbd395e39614422133b95ff659db316e.tar.bz2
bcfg2-5db7ac37fbd395e39614422133b95ff659db316e.zip
Fix use of category names with hyphens (Resolves Ticket #518)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4286 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Admin/Viz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Admin/Viz.py b/src/lib/Server/Admin/Viz.py
index 7574683b5..85b6e8888 100644
--- a/src/lib/Server/Admin/Viz.py
+++ b/src/lib/Server/Admin/Viz.py
@@ -132,7 +132,7 @@ class Viz(Bcfg2.Server.Admin.Mode):
dotpipe.tochild.write('''\tHblock [label="Host1|Host2|Host3", shape="record"];\n''')
for category in categories:
dotpipe.tochild.write(
- '''\t''' + category + ''' [label="''' + category + \
+ '''\t"''' + category + '''" [label="''' + category + \
'''", shape="record", style="filled", fillcolor=''' + \
categories[category] + '''];\n''')
dotpipe.tochild.write('''\tlabel="Key";\n''')