aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <proyvind@moondrake.org>2016-10-04 08:29:00 +0200
committerPer Øyvind Karlsen <proyvind@moondrake.org>2016-10-04 08:29:00 +0200
commit6952d76600e075e19d3f8b4c048dc113347c488f (patch)
tree276681a5adcb652932057e1ae9079b3ca1560ac2 /MgaRepo
parent48ee59d37ee1d7773ba90896d7cb4742e0de8861 (diff)
downloadmgarepo-6952d76600e075e19d3f8b4c048dc113347c488f.tar
mgarepo-6952d76600e075e19d3f8b4c048dc113347c488f.tar.gz
mgarepo-6952d76600e075e19d3f8b4c048dc113347c488f.tar.bz2
mgarepo-6952d76600e075e19d3f8b4c048dc113347c488f.tar.xz
mgarepo-6952d76600e075e19d3f8b4c048dc113347c488f.zip
update upload_binary() to properly use newer execcmd()
Diffstat (limited to 'MgaRepo')
-rw-r--r--MgaRepo/binrepo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MgaRepo/binrepo.py b/MgaRepo/binrepo.py
index 2d08300..0df8088 100644
--- a/MgaRepo/binrepo.py
+++ b/MgaRepo/binrepo.py
@@ -107,7 +107,7 @@ def upload_binary(topdir, filename):
filein = open(filepath, 'r')
except Error as e:
raise Error("Could not open file %s\n" % filepath)
- status, output = execcmd(command, show=True, collecterr=True, stdin=filein)
+ status, output = execcmd(*command, show=True, collecterr=True, stdin=filein)
def import_binaries(topdir, pkgname):
"""Import all binaries from a given package checkout