You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by lf...@apache.org on 2020/06/18 14:45:53 UTC

[incubator-dlab] branch DLAB-1855 updated: [DLAB-1855]: changed return in case of error during pip pkg installation

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DLAB-1855
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1855 by this push:
     new 1bcf291  [DLAB-1855]: changed return in case of error during pip pkg installation
1bcf291 is described below

commit 1bcf2919b39fa473e9710c3817356ac30ce6f5d4
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Jun 18 17:45:35 2020 +0300

    [DLAB-1855]: changed return in case of error during pip pkg installation
---
 infrastructure-provisioning/src/general/lib/os/fab.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py b/infrastructure-provisioning/src/general/lib/os/fab.py
index 179167f..ffe0169 100644
--- a/infrastructure-provisioning/src/general/lib/os/fab.py
+++ b/infrastructure-provisioning/src/general/lib/os/fab.py
@@ -92,7 +92,7 @@ def install_pip_pkg(requisites, pip_version, lib_group):
     except Exception as err:
         append_result("Failed to install {} packages".format(pip_version), str(err))
         print("Failed to install {} packages".format(pip_version))
-        sys.exit(1)
+        return "Failed to install {} packages".format(pip_version)
 
 
 def id_generator(size=10, chars=string.digits + string.ascii_letters):


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org