diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-02-19 01:28:09 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-02-19 01:28:09 +0000 |
commit | 1c090ca77d33dd010b3a9c506f02224d116e7b8b (patch) | |
tree | ca7ab52cc95eaa502ba23e8c85118731f8e73d55 /src/lib/Server | |
parent | e3364097371ec3673c18a12a56254e776be22d7b (diff) | |
download | bcfg2-1c090ca77d33dd010b3a9c506f02224d116e7b8b.tar.gz bcfg2-1c090ca77d33dd010b3a9c506f02224d116e7b8b.tar.bz2 bcfg2-1c090ca77d33dd010b3a9c506f02224d116e7b8b.zip |
Fix viz mode
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4385 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Admin/Viz.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/Server/Admin/Viz.py b/src/lib/Server/Admin/Viz.py index cac2de866..1776132b8 100644 --- a/src/lib/Server/Admin/Viz.py +++ b/src/lib/Server/Admin/Viz.py @@ -5,12 +5,11 @@ import Bcfg2.Server.Admin class Viz(Bcfg2.Server.Admin.Mode): __shorthelp__ = '''bcfg2-admin viz [--includehosts] [--includebundles] [--includekey] [-o output.png] [--raw]''' __longhelp__ = __shorthelp__ + '\n\tProduce graphviz diagrams of metadata structures' - def __init__(self): - Bcfg2.Server.Admin.Mode.__init__(self) - self.colors = ['steelblue1', 'chartreuse', 'gold', 'magenta', - 'indianred1', 'limegreen', 'orange1', 'lightblue2', - 'green1', 'blue1', 'yellow1', 'darkturquoise', 'gray66'] + colors = ['steelblue1', 'chartreuse', 'gold', 'magenta', + 'indianred1', 'limegreen', 'orange1', 'lightblue2', + 'green1', 'blue1', 'yellow1', 'darkturquoise', 'gray66'] + def __call__(self, args): Bcfg2.Server.Admin.Mode.__call__(self, args) # First get options to the 'viz' subcommand |