You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2021/10/21 10:40:33 UTC

[phoenix] branch 4.x updated: PHOENIX-6577 phoenix_sandbox.py incompatible with python3

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

stoty pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x by this push:
     new 20ec0cc  PHOENIX-6577 phoenix_sandbox.py incompatible with python3
20ec0cc is described below

commit 20ec0ccee7f31428e2e7ebe658c37369f55f86bb
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Oct 21 08:25:52 2021 +0200

    PHOENIX-6577 phoenix_sandbox.py incompatible with python3
---
 bin/phoenix_sandbox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/phoenix_sandbox.py b/bin/phoenix_sandbox.py
index e18c686..5a1a78d 100755
--- a/bin/phoenix_sandbox.py
+++ b/bin/phoenix_sandbox.py
@@ -41,7 +41,7 @@ if not os.path.exists(cp_file_path):
 logging_config = os.path.join(base_dir, 'bin', 'sandbox-log4j.properties')
 
 cp_components = [phoenix_target_dir + "/*"]
-with open(cp_file_path, 'rb') as cp_file:
+with open(cp_file_path, 'r') as cp_file:
     cp_components.append(cp_file.read())
 
 java_cmd = ("java $PHOENIX_OPTS -Dlog4j.configuration=file:%s " +