diff options
author | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-07-10 18:10:27 +0200 |
---|---|---|
committer | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-07-10 18:10:27 +0200 |
commit | a207476bd8a3153820af3ddd6800e3b7702db5aa (patch) | |
tree | 86c1096851c858c4f130c8fef4d239579dd5a9d4 /.travis | |
parent | 80a8bb951b53987436bfe228e99a291d9ab334ea (diff) |
netdata/packaging: [ci skip] Wrong positioning of arguments
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/package_management/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis/package_management/common.py b/.travis/package_management/common.py index 8187af5bbf..b96f994e95 100755 --- a/.travis/package_management/common.py +++ b/.travis/package_management/common.py @@ -37,7 +37,7 @@ def run_command(container, command): if command_result != 0: raise Exception("Command failed with exit code %d" % command_result) -def run_command_in_host(container, cmd): +def run_command_in_host(cmd): print("Issue command in host: %s" % str(cmd)) proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) @@ -46,7 +46,7 @@ def run_command_in_host(container, cmd): print('Error: ' + e.decode('ascii')) print('code: ' + str(proc.returncode)) -def install_common_dependendencies(): +def install_common_dependendencies(container): if str(os.environ["REPO_TOOL"]).count("zypper") == 1: run_command(container, [os.environ["REPO_TOOL"], "clean", "-a"]) run_command(container, [os.environ["REPO_TOOL"], "--no-gpg-checks", "update", "-y"]) |