From 6952d76600e075e19d3f8b4c048dc113347c488f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Tue, 4 Oct 2016 08:29:00 +0200 Subject: update upload_binary() to properly use newer execcmd() --- MgaRepo/binrepo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1