summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-09-10 13:58:34 -0700
committerJesse Keating <jkeating@redhat.com>2010-09-10 13:58:34 -0700
commita680021b98bad95be373fb70ce5dfd26f34aad86 (patch)
tree0f0b56945fe5642ac2d1c8fb37f422a988aae233
parentd6437840052433f2bdbd0242a14b24a0c40706d5 (diff)
downloadfedora-packager-a680021b98bad95be373fb70ce5dfd26f34aad86.zip
fedora-packager-a680021b98bad95be373fb70ce5dfd26f34aad86.tar.gz
fedora-packager-a680021b98bad95be373fb70ce5dfd26f34aad86.tar.xz
Name the process variables right (#632097)
-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,