This is an automated email from the ASF dual-hosted git repository. guyuqi pushed a commit to branch openEuler in repository https://gitbox.apache.org/repos/asf/bigtop.git
commit 2590309c7a7730bdea44e7cfa2f4eea636eedd93 Author: Yuqi Gu <[email protected]> AuthorDate: Tue Aug 22 16:09:26 2023 +0800 BIGTOP-3983: Fix the Ranger-2.4 deploying issues (#1163) (cherry picked from commit 2fedf014811d6a050478abe6860bdd88e2ffcf87) --- .../src/common/ranger/patch3-RANGER-3206-commit-2.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bigtop-packages/src/common/ranger/patch3-RANGER-3206-commit-2.diff b/bigtop-packages/src/common/ranger/patch3-RANGER-3206-commit-2.diff new file mode 100644 index 000000000..e9e418b2e --- /dev/null +++ b/bigtop-packages/src/common/ranger/patch3-RANGER-3206-commit-2.diff @@ -0,0 +1,13 @@ +diff --git a/security-admin/scripts/db_setup.py b/security-admin/scripts/db_setup.py +index 10acb5375..24502f4fb 100644 +--- a/security-admin/scripts/db_setup.py ++++ b/security-admin/scripts/db_setup.py +@@ -149,7 +149,7 @@ def dbversionBasedOnUserName(userName): + def set_env_val(command): + proc = subprocess.Popen(command, stdout = subprocess.PIPE) + for line in proc.stdout: +- (key, _, value) = line.partition("=") ++ (key, _, value) = line.decode('utf8').partition('=') + os.environ[key] = value.rstrip() + proc.communicate() +
