diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-06-22 00:30:28 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-06-22 00:30:28 +0000 |
commit | 5df781bb0d3b5e2d0a7d4abf94477283f9ebbaa6 (patch) | |
tree | a917c6bf75cfd3a12a4043ecadc5ef4328f4ca97 /SConstruct | |
parent | d9339f2f406e6a74846733aad8a2415cbf81d3cd (diff) |
use newer python string methods
git-svn-id: svn://localhost/ardour2/trunk@632 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
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; |