From d8c2d47807bfa739bbab1c14bf7e9c208d0fe667 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 30 Dec 2012 12:51:49 -0500 Subject: [PATCH] swc-installation-test-2.py: import print_function for Python 2.6 Otherwise `print()` actually prints `()`, where we want it to print a blank line. --- swc-installation-test-2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/swc-installation-test-2.py b/swc-installation-test-2.py index a6a9a50..857385c 100755 --- a/swc-installation-test-2.py +++ b/swc-installation-test-2.py @@ -22,6 +22,8 @@ This script requires at least Python 2.6. You can check the version of Python that you have installed with 'swc-installation-test-1.py'. """ +from __future__ import print_function # for Python 2.6 compatibility + import distutils.ccompiler as _distutils_ccompiler import importlib as _importlib import logging as _logging -- 2.26.2