summaryrefslogtreecommitdiffstats
path: root/clang/utils/check_cfc/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'clang/utils/check_cfc/setup.py')
-rw-r--r--clang/utils/check_cfc/setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/utils/check_cfc/setup.py b/clang/utils/check_cfc/setup.py
index b5fc473639e..6005f6f4112 100644
--- a/clang/utils/check_cfc/setup.py
+++ b/clang/utils/check_cfc/setup.py
@@ -1,6 +1,7 @@
"""For use on Windows. Run with:
python.exe setup.py py2exe
"""
+from __future__ import print_function
from distutils.core import setup
try:
import py2exe
@@ -8,10 +9,10 @@ except ImportError:
import platform
import sys
if platform.system() == 'Windows':
- print "Could not find py2exe. Please install then run setup.py py2exe."
+ print("Could not find py2exe. Please install then run setup.py py2exe.")
raise
else:
- print "setup.py only required on Windows."
+ print("setup.py only required on Windows.")
sys.exit(1)
setup(
OpenPOWER on IntegriCloud