docs: Add build support for python3

This commit is contained in:
Anuj Deshpande 2017-12-26 16:01:18 +05:30 committed by Roland Dobai
parent ce67428c56
commit d66b227e07

View file

@ -6,9 +6,9 @@ from repo_util import run_cmd_get_output
def get_github_rev():
path = run_cmd_get_output('git rev-parse --short HEAD')
tag = run_cmd_get_output('git describe --exact-match')
print 'Git commit ID: ', path
print ('Git commit ID: ', path)
if len(tag):
print 'Git tag: ', tag
print ('Git tag: ', tag)
path = tag
return path