summaryrefslogtreecommitdiffstats
path: root/clang/utils/modfuzz.py
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@quarkslab.com>2018-12-18 16:07:37 +0000
committerSerge Guelton <sguelton@quarkslab.com>2018-12-18 16:07:37 +0000
commitb748c0e696602cd8371c875a3eb337b8b221800d (patch)
treeda9858e64a96816d776181b2d865e5f46cbce5e2 /clang/utils/modfuzz.py
parent3ee1ffc9fcb09dcfbcb6b84e19c9855eae8cafa2 (diff)
downloadbcm5719-llvm-b748c0e696602cd8371c875a3eb337b8b221800d.tar.gz
bcm5719-llvm-b748c0e696602cd8371c875a3eb337b8b221800d.zip
Portable Python script across Python version
Make scripts more future-proof by importing most __future__ stuff. Differential Revision: https://reviews.llvm.org/D55208 llvm-svn: 349504
Diffstat (limited to 'clang/utils/modfuzz.py')
-rw-r--r--clang/utils/modfuzz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/utils/modfuzz.py b/clang/utils/modfuzz.py
index 4dc25e84696..61ca3272aca 100644
--- a/clang/utils/modfuzz.py
+++ b/clang/utils/modfuzz.py
@@ -4,7 +4,7 @@
# 1) Update the 'decls' list below with your fuzzing configuration.
# 2) Run with the clang binary as the command-line argument.
-from __future__ import print_function
+from __future__ import absolute_import, division, print_function
import random
import subprocess
import sys
OpenPOWER on IntegriCloud