From 1c03935b76e5a1d94042d2cbaed90b62dd6073a0 Mon Sep 17 00:00:00 2001 From: "roberto@sirius" Date: Tue, 9 Mar 2010 08:50:32 +0100 Subject: [PATCH] setup.py write flush (7) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3f997942..77f38acc 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ from distutils.command.build_ext import build_ext def is_yes(name, d): sys.stderr.write("*** Write your answer in the next line: enable %s ? y/n [ default %s ]>\n" % (name, d)) x = raw_input() - if x is None: + if x is None or x is "\n": x = d if x == 'y' or x == 'Y': sys.stderr.write("%s will be enabled.\n" % name);