Skip to content

Commit 871388e

Browse files
author
Djordje Todorovic
committed
[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
1 parent 34b3d5b commit 871388e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

debuginfo-tests/dexter/dexter.py

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99

1010
import sys
1111

12+
if sys.version_info < (3, 6, 0):
13+
sys.stderr.write("You need python 3.6 or later to run DExTer\n")
14+
# Equivalent to sys.exit(ReturnCode._ERROR).
15+
sys.exit(1)
16+
1217
from dex.tools import main
1318

1419
if __name__ == '__main__':

0 commit comments

Comments
 (0)