Either way

Reviewed-by: Jose Fonseca <[email protected]>

Thanks



On 02/08/17 15:10, Eric Engestrom wrote:
String handling has changed on python3.

Before this patch:
After:

(No change on python2, it always looked ok)

Cc: Jose Fonseca <[email protected]>
Fixes: b99dcbfeb344390fea99 "build: Convert git_sha1_gen script to Python."
Signed-off-by: Eric Engestrom <[email protected]>
---
  bin/git_sha1_gen.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/git_sha1_gen.py b/bin/git_sha1_gen.py
index e26d3a3f76..e1018cdc47 100755
--- a/bin/git_sha1_gen.py
+++ b/bin/git_sha1_gen.py
@@ -12,7 +12,7 @@
          'rev-parse',
          '--short=10',
          'HEAD',
-    ], stderr=open(os.devnull, 'w'))
+    ], stderr=open(os.devnull, 'w')).decode("utf-8")
  except:
      # don't print anything if it fails
      pass


_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to