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

jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 09c1a4d1f6 AMBARI-26235: Unable to check firewalld status when setup 
ambari #3878
09c1a4d1f6 is described below

commit 09c1a4d1f6e243f3146340da8cb8ff76327fda34
Author: Peng Lu <[email protected]>
AuthorDate: Wed Nov 13 08:50:22 2024 +0800

    AMBARI-26235: Unable to check firewalld status when setup ambari #3878
---
 ambari-common/src/main/python/ambari_commons/firewall.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-common/src/main/python/ambari_commons/firewall.py 
b/ambari-common/src/main/python/ambari_commons/firewall.py
index 65c3d55835..e58ca3520d 100644
--- a/ambari-common/src/main/python/ambari_commons/firewall.py
+++ b/ambari-common/src/main/python/ambari_commons/firewall.py
@@ -83,7 +83,7 @@ class FirewallChecks(object):
   def run_command(self):
     try:
       retcode, out, err = shell.call(self.get_command(), stdout = 
subprocess.PIPE, stderr = subprocess.PIPE,
-                                     timeout = 5, quiet = True, 
universal_newlines=True)
+                                     timeout = 5, quiet = True)
       self.returncode = retcode
       self.stdoutdata = out
       self.stderrdata = err


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to