forked from OSchip/llvm-project
[dexter] Require python >= 3.6
The documentation says we need python >= 3.6. Running it with an older version, we get verbose output from python interpreter. This patch fixes that as: $ python2 dexter.py list-debuggers You need python 3.6 or later to run DExTer Differential Revision: https://reviews.llvm.org/D78621
This commit is contained in:
parent
34b3d5b66c
commit
871388e384
|
@ -9,6 +9,11 @@
|
|||
|
||||
import sys
|
||||
|
||||
if sys.version_info < (3, 6, 0):
|
||||
sys.stderr.write("You need python 3.6 or later to run DExTer\n")
|
||||
# Equivalent to sys.exit(ReturnCode._ERROR).
|
||||
sys.exit(1)
|
||||
|
||||
from dex.tools import main
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue