Don't print debug info for python 2.6
This commit is contained in:
parent
16f402a6c0
commit
b7619a33c1
@ -391,7 +391,12 @@ def make_compiler_list(tags, compiler_versions):
|
|||||||
in zip(tags, compiler_versions):
|
in zip(tags, compiler_versions):
|
||||||
# If we had an error, move to the next element
|
# If we had an error, move to the next element
|
||||||
if error:
|
if error:
|
||||||
tty.debug(error)
|
try:
|
||||||
|
# This will fail on Python 2.6 if a non ascii
|
||||||
|
# character is in the error
|
||||||
|
tty.debug(error)
|
||||||
|
except UnicodeEncodeError:
|
||||||
|
pass
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# Skip unknown versions
|
# Skip unknown versions
|
||||||
|
Loading…
Reference in New Issue
Block a user