You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/02/18 15:25:30 UTC
[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]:
added arguments to command
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
The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
new 7b52064 [DATALAB-2091]: added arguments to command
7b52064 is described below
commit 7b52064fa7722a9fd14dfefcda40448d5ffbc57a
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Feb 18 17:25:19 2021 +0200
[DATALAB-2091]: added arguments to command
---
infrastructure-provisioning/src/general/lib/os/debian/common_lib.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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 a9a7113..f31ca9f 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/common_lib.py
@@ -52,8 +52,7 @@ def manage_pkg(command, environment, requisites):
datalab.fab.conn.sudo('dpkg --configure -a 2>&1 | tee /tmp/tee.tmp; if ! grep -w -E "({0})" /tmp/tee.tmp > '
'/tmp/dpkg.log; then echo "no_error" > /tmp/dpkg.log;fi'.format(error_parser))
print('----------- install 1')
- err = datalab.fab.conn.sudo('cat /tmp/dpkg.log')
- type(err)
+ err = datalab.fab.conn.sudo('cat /tmp/dpkg.log', capture=True, stderr=False)
print(str(err))
print(err)
print('=========cat /tmp/dpkg.log')
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org