Commit 1ae58b77 authored by Yong Tang's avatar Yong Tang
Browse files

Fix tf.version.GIT_VERSION to return str (instead of bytes)



This fix fixes the issue raised in 24578 where
`tf.version.GIT_VERSION` returns byte instead of string:
```
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> print(tf.version.GIT_VERSION)
b'v1.12.0-5133-gc343196842'
>>> print(tf.version.COMPILER_VERSION)
4.8.5
>>> print(tf.version.VERSION)
1.13.0-dev20181226
```

This fix fixes 24578.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent cd8c6c99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment