use newer python string methods

git-svn-id: svn://localhost/ardour2/trunk@632 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-06-22 00:30:28 +00:00
parent d9339f2f40
commit 5df781bb0d

View file

@ -353,7 +353,7 @@ env.Append (BUILDERS = {'Tarball' : tarball_bld})
if env['VST']:
sys.stdout.write ("Are you building Ardour for personal use (rather than distributiont to others)? [no]: ")
answer = sys.stdin.readline ()
answer = string.strip (string.rstrip (answer));
answer = answer.rstrip().strip()
if answer != "yes" and answer != "y":
print 'You cannot build Ardour with VST support for distribution to others.\nIt is a violation of several different licenses. VST support disabled.'
env['VST'] = 0;