[email protected] has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/5153

Change subject: KUDU-1706 Unable to build from source using Python 3
......................................................................

KUDU-1706 Unable to build from source using Python 3

Fixed python preflight and postflight scripts to support python version 2 and 
3.Converted print statements to have parenthese print(). Replaced file() with 
preferred open(). Resolved some string concatentation issues. Added 
universal_newlines=True) to subprocess.Popen in shell function of postflight.py 
script because in python3 it would expect bytes instead of a string if not set. 
Tested on python 2.6.6, 2.7.12, 3.5.2

Change-Id: I3fcc92cb185c3dc880e06b4d235c094c8b8cd4cf
---
M thirdparty/postflight.py
M thirdparty/preflight.py
2 files changed, 25 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/53/5153/1
-- 
To view, visit http://gerrit.cloudera.org:8080/5153
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3fcc92cb185c3dc880e06b4d235c094c8b8cd4cf
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: [email protected]

Reply via email to