[PATCH] D78621: [dexter] Require python >= 3.6
Djordje Todorovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 23 03:13:27 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG871388e384dc: [dexter] Require python >= 3.6 (authored by djtodoro).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D78621?vs=259227&id=259503#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78621/new/
https://reviews.llvm.org/D78621
Files:
debuginfo-tests/dexter/dexter.py
Index: debuginfo-tests/dexter/dexter.py
===================================================================
--- debuginfo-tests/dexter/dexter.py
+++ debuginfo-tests/dexter/dexter.py
@@ -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__':
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78621.259503.patch
Type: text/x-patch
Size: 446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200423/5584c68c/attachment.bin>
More information about the llvm-commits
mailing list