diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2009-03-07 16:47:55 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2009-03-07 16:47:55 +0000 |
commit | 27e1b2cf031f6bcd58a3ebd74e5acf25f1ba2009 (patch) | |
tree | 33e35feb83b7f12c826024d956a5127ab26063de /src/lib/Server/Admin/Viz.py | |
parent | a738db564d19184b61d45fca3985dc285ee03ba8 (diff) | |
download | bcfg2-27e1b2cf031f6bcd58a3ebd74e5acf25f1ba2009.tar.gz bcfg2-27e1b2cf031f6bcd58a3ebd74e5acf25f1ba2009.tar.bz2 bcfg2-27e1b2cf031f6bcd58a3ebd74e5acf25f1ba2009.zip |
Fix tb in Viz (Reported by Michael Jinks)
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5110 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Admin/Viz.py')
-rw-r--r-- | src/lib/Server/Admin/Viz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Admin/Viz.py b/src/lib/Server/Admin/Viz.py index f973e90c5..ca8eee773 100644 --- a/src/lib/Server/Admin/Viz.py +++ b/src/lib/Server/Admin/Viz.py @@ -72,8 +72,8 @@ class Viz(Bcfg2.Server.Admin.MetadataCore): cmd = "dot -Tpng" if output: cmd += " -o %s" % output - dotpipe = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, - stdout=subprocess.PIPE, close_fds=True) + dotpipe = Popen(cmd, shell=True, stdin=PIPE, + stdout=PIPE, close_fds=True) try: dotpipe.stdin.write("digraph groups {\n") except: |