summaryrefslogtreecommitdiffstats
path: root/clang/utils/check_cfc
diff options
context:
space:
mode:
Diffstat (limited to 'clang/utils/check_cfc')
-rwxr-xr-xclang/utils/check_cfc/check_cfc.py2
-rwxr-xr-xclang/utils/check_cfc/obj_diff.py2
-rw-r--r--clang/utils/check_cfc/setup.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/utils/check_cfc/check_cfc.py b/clang/utils/check_cfc/check_cfc.py
index aea9bdd6388..4ad88c8b751 100755
--- a/clang/utils/check_cfc/check_cfc.py
+++ b/clang/utils/check_cfc/check_cfc.py
@@ -47,7 +47,7 @@ To add a new check:
subclass.
"""
-from __future__ import print_function
+from __future__ import absolute_import, division, print_function
import imp
import os
diff --git a/clang/utils/check_cfc/obj_diff.py b/clang/utils/check_cfc/obj_diff.py
index 61b9118df83..1302834432a 100755
--- a/clang/utils/check_cfc/obj_diff.py
+++ b/clang/utils/check_cfc/obj_diff.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python2.7
-from __future__ import print_function
+from __future__ import absolute_import, division, print_function
import argparse
import difflib
diff --git a/clang/utils/check_cfc/setup.py b/clang/utils/check_cfc/setup.py
index 6005f6f4112..64f07d5dcc5 100644
--- a/clang/utils/check_cfc/setup.py
+++ b/clang/utils/check_cfc/setup.py
@@ -1,7 +1,7 @@
"""For use on Windows. Run with:
python.exe setup.py py2exe
"""
-from __future__ import print_function
+from __future__ import absolute_import, division, print_function
from distutils.core import setup
try:
import py2exe
OpenPOWER on IntegriCloud