summaryrefslogtreecommitdiff
path: root/utils/analyzer/SumTimerInfo.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
commit4090d6c943078cd267f5b642e30283270fc17801 (patch)
tree81ea3845e3006584f6f77a3cec6bfc5d3b153fd9 /utils/analyzer/SumTimerInfo.py
parentcf888dadbd8a75717f099042d4942f4a62d869ca (diff)
downloadclang-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 'utils/analyzer/SumTimerInfo.py')
-rw-r--r--utils/analyzer/SumTimerInfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/analyzer/SumTimerInfo.py b/utils/analyzer/SumTimerInfo.py
index b3219b00c7..36e519adbf 100644
--- a/utils/analyzer/SumTimerInfo.py
+++ b/utils/analyzer/SumTimerInfo.py
@@ -6,7 +6,7 @@ Script to Summarize statistics in the scan-build output.
Statistics are enabled by passing '-internal-stats' option to scan-build
(or '-analyzer-stats' to the analyzer).
"""
-from __future__ import print_function
+from __future__ import absolute_import, division, print_function
import sys