This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DATALAB-2091 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 1a3607b5119a5d51214abe27e350fde33adde7b4 Author: leonidfrolov <[email protected]> AuthorDate: Mon Feb 22 14:24:28 2021 +0200 [DATALAB-2091]: removed unnecessary list --- infrastructure-provisioning/src/general/lib/os/debian/common_lib.py | 1 - 1 file changed, 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py index de6f695..1711520 100644 --- a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py +++ b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py @@ -66,7 +66,6 @@ def manage_pkg(command, environment, requisites): datalab.fab.conn.sudo('apt update') datalab.fab.conn.sudo('apt-get {0} {1} 2>&1 | tee /tmp/tee.tmp; if ! grep -w -E "({2})" /tmp/tee.tmp > ' '/tmp/apt.log; then echo "no_error" > /tmp/apt.log;fi'.format(command, requisites, error_parser)) - datalab.fab.conn.sudo('ls -la /tmp/') err = datalab.fab.conn.sudo('cat /tmp/apt.log').stdout count = 0 while 'no_error' not in err and count < 10: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
