[yt-svn] commit/yt: ngoldbaum: [bugfix] ensure message printed out when openmp isn't available is a string

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Dec 6 07:02:28 PST 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/bcdf7ee3c05b/
Changeset:   bcdf7ee3c05b
Branch:      yt
User:        ngoldbaum
Date:        2016-12-05 20:13:24+00:00
Summary:     [bugfix] ensure message printed out when openmp isn't available is a string
Affected #:  1 file

diff -r 0874610be59627d1973a759d88c3d1636369fd4e -r bcdf7ee3c05bc4c96372fc3bfa5a581595c09bb2 setupext.py
--- a/setupext.py
+++ b/setupext.py
@@ -45,7 +45,7 @@
         
         if exit_code != 0:
             print("Compilation of OpenMP test code failed with the error: ")
-            print(err)
+            print(err.decode('utf8'))
             print("Disabling OpenMP support. ")
 
         # Clean up

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list