From 5df781bb0d3b5e2d0a7d4abf94477283f9ebbaa6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 22 Jun 2006 00:30:28 +0000 Subject: use newer python string methods git-svn-id: svn://localhost/ardour2/trunk@632 d708f5d6-7413-0410-9779-e7cbd77b26cf --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 94da428f2c..65dfd3b06e 100644 --- a/SConstruct +++ b/SConstruct @@ -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; -- cgit v1.2.3