summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pyfedpkg/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index 62a5654..8c67261 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -174,12 +174,12 @@ def _run_command(cmd, shell=False, env=None, pipe=[], cwd=None):
stdout=subprocess.PIPE,
stderr=subprocess.PIPE, shell=shell,
cwd=cwd)
- proc2 = subprocess.Popen(pipecmd, env=environ,
+ proc = subprocess.Popen(pipecmd, env=environ,
stdin=proc1.stdout,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE, shell=shell,
cwd=cwd)
- output, error = proc2.communicate()
+ output, error = proc.communicate()
else:
proc = subprocess.Popen(command, env=environ,
stdout=subprocess.PIPE,