This is an automated email from the ASF dual-hosted git repository. lfrolov pushed a commit to branch DLAB-1961 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1961 by this push: new bb8214d [DLAB-1594]: fixed for pip libs bb8214d is described below commit bb8214d90a2396d55a95b5a48f87604af258c2a8 Author: leonidfrolov <frolovl...@gmail.com> AuthorDate: Wed Jul 22 19:34:01 2020 +0300 [DLAB-1594]: fixed for pip libs --- infrastructure-provisioning/src/general/lib/os/fab.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py index 8a00ff8..8cc915c 100644 --- a/infrastructure-provisioning/src/general/lib/os/fab.py +++ b/infrastructure-provisioning/src/general/lib/os/fab.py @@ -98,6 +98,9 @@ def install_pip_pkg(requisites, pip_version, lib_group): if versions != '': versions = versions.split(', ') status_msg = 'invalid version' + else: + versions = [] + sudo('if ! grep -w -i -E "Installing collected packages:" /tmp/tee.tmp > /tmp/{0}install_{1}.log; ' 'then echo "" > /tmp/{0}install_{1}.log;fi'.format(pip_version, pip_pkg)) dep = sudo('cat /tmp/{0}install_{1}.log'.format(pip_version, pip_pkg)).replace('\r\n', '').strip()[31:] --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org