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

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


The following commit(s) were added to refs/heads/DLAB-515 by this push:
     new 9b5f77a  Update fab.py
9b5f77a is described below

commit 9b5f77a21531bfd7e09e7172fb501e214d4a7c77
Author: bodnarmykola <46999086+bodnarmyk...@users.noreply.github.com>
AuthorDate: Mon Jul 13 16:41:58 2020 +0300

    Update fab.py
    
    fab.py fixed
---
 infrastructure-provisioning/src/general/lib/os/fab.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/infrastructure-provisioning/src/general/lib/os/fab.py 
b/infrastructure-provisioning/src/general/lib/os/fab.py
index 2acb5f8..d693f4d 100644
--- a/infrastructure-provisioning/src/general/lib/os/fab.py
+++ b/infrastructure-provisioning/src/general/lib/os/fab.py
@@ -181,9 +181,9 @@ def configure_jupyter(os_user, jupyter_conf_file, 
templates_dir, jupyter_version
             http_proxy = run('echo $http_proxy')
             https_proxy = run('echo $https_proxy')
             #sudo('sed -i \'/\[Service\]/ a\Environment=\"HTTP_PROXY={}\"\'  
/tmp/jupyter-notebook.service'.format(
-                http_proxy))
+            #    http_proxy))
             #sudo('sed -i \'/\[Service\]/ a\Environment=\"HTTPS_PROXY={}\"\'  
/tmp/jupyter-notebook.service'.format(
-                https_proxy))
+            #    https_proxy))
             java_home = run("update-alternatives --query java | grep -o 
\'/.*/java-8.*/jre\'").splitlines()[0]
             sudo('sed -i \'/\[Service\]/ a\Environment=\"JAVA_HOME={}\"\'  
/tmp/jupyter-notebook.service'.format(
                 java_home))
@@ -918,4 +918,4 @@ def manage_npm_pkg(command):
                     npm_count += 1
                     time.sleep(50)
     except:
-        sys.exit(1)
\ No newline at end of file
+        sys.exit(1)


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

Reply via email to