projects
/
swc-boot-camp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
749bddf
)
swc-installation-test-2.py: import print_function for Python 2.6
author
W. Trevor King
<wking@tremily.us>
Sun, 30 Dec 2012 17:51:49 +0000
(12:51 -0500)
committer
W. Trevor King
<wking@tremily.us>
Tue, 1 Jan 2013 14:49:46 +0000
(09:49 -0500)
Otherwise `print()` actually prints `()`, where we want it to print a
blank line.
swc-installation-test-2.py
patch
|
blob
|
history
diff --git
a/swc-installation-test-2.py
b/swc-installation-test-2.py
index a6a9a508d2e4e6bd5012a7629fa7d33593873e52..857385ca31be233e6541eec4bd1dc758f2b7aeac 100755
(executable)
--- 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