diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2016-11-05 15:38:08 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2016-11-05 15:38:08 +0100 |
commit | f372e877cb32a6c009e29ff9ddf1a14f8b2fd216 (patch) | |
tree | be50c72a1a883aa07cad805d44a0cda906285997 /MgaRepo/binrepo.py | |
parent | 8f51e35c875c9cbb4637cbf8796ee66a871ba57f (diff) | |
download | mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar.gz mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar.bz2 mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar.xz mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.zip |
Revert to 1.12.3 state
Diffstat (limited to 'MgaRepo/binrepo.py')
-rw-r--r-- | MgaRepo/binrepo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MgaRepo/binrepo.py b/MgaRepo/binrepo.py index 0df8088..89679b0 100644 --- a/MgaRepo/binrepo.py +++ b/MgaRepo/binrepo.py @@ -102,12 +102,12 @@ def upload_binary(topdir, filename): return host = config.get("binrepo", "upload_host") upload_bin_helper = get_helper("upload-bin") - command = ["ssh", host, upload_bin_helper, filename] + command = "ssh %s %s %s" % (host, upload_bin_helper, filename) try: 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, geterr=True, stdin=filein) def import_binaries(topdir, pkgname): """Import all binaries from a given package checkout |