mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-01 02:35:03 +00:00
setup.py write flush (7)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user