diff options
author | Serge Guelton <sguelton@quarkslab.com> | 2018-12-18 16:07:37 +0000 |
---|---|---|
committer | Serge Guelton <sguelton@quarkslab.com> | 2018-12-18 16:07:37 +0000 |
commit | 4090d6c943078cd267f5b642e30283270fc17801 (patch) | |
tree | 81ea3845e3006584f6f77a3cec6bfc5d3b153fd9 /tools/scan-build-py | |
parent | cf888dadbd8a75717f099042d4942f4a62d869ca (diff) | |
download | clang-4090d6c943078cd267f5b642e30283270fc17801.tar.gz |
Portable Python script across Python version
Make scripts more future-proof by importing most __future__ stuff.
Differential Revision: https://reviews.llvm.org/D55208
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@349504 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/scan-build-py')
-rw-r--r-- | tools/scan-build-py/libscanbuild/arguments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scan-build-py/libscanbuild/arguments.py b/tools/scan-build-py/libscanbuild/arguments.py index 73a7f24e67..eb8ea0d9ff 100644 --- a/tools/scan-build-py/libscanbuild/arguments.py +++ b/tools/scan-build-py/libscanbuild/arguments.py @@ -12,7 +12,7 @@ earlier.) It also implements basic validation methods, related to the command. Validations are mostly calling specific help methods, or mangling values. """ -from __future__ import print_function +from __future__ import absolute_import, division, print_function import os import sys |