From 0b8c21f8f3cc5f95f2184bf717b62f2888ed4935 Mon Sep 17 00:00:00 2001 From: "R. Tyler Ballance" Date: Sun, 8 Nov 2009 15:22:10 -0800 Subject: Refactor raw print statements in accordance with 2to3 Removed prints in a couple places entirely, some of this code should likely use the `logging` module instead --- SetupTools.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'SetupTools.py') diff --git a/SetupTools.py b/SetupTools.py index d08eef2..096ee40 100644 --- a/SetupTools.py +++ b/SetupTools.py @@ -158,14 +158,14 @@ def run_setup(configurations): try: apply(setup, (), kws) except BuildFailed, x: - print "One or more C extensions failed to build." - print "Details: %s" % x - print "Retrying without C extensions enabled." + print("One or more C extensions failed to build.") + print("Details: %s" % x) + print("Retrying without C extensions enabled.") del kws['ext_modules'] apply(setup, (), kws) - print "One or more C extensions failed to build." - print "Performance enhancements will not be available." - print "Pure Python installation succeeded." + print("One or more C extensions failed to build.") + print("Performance enhancements will not be available.") + print("Pure Python installation succeeded.") -- cgit v1.2.1