summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Admin/Viz.py4
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: