diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-05-01 16:12:17 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-05-08 14:57:27 +0100 |
commit | 0d0417cc75c3f7047a783c42a76bf378d8ab1397 (patch) | |
tree | b175c1f9bac88d7746e63afde38be86fafdc37ad /common.py | |
parent | be3f9dd26cf59cadc21e4d5cc27dd199c9752b1c (diff) |
scons: Don't use deprecated Options.
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -46,13 +46,13 @@ else: def AddOptions(opts): try: - from SCons.Options.BoolOption import BoolOption - except ImportError: from SCons.Variables.BoolVariable import BoolVariable as BoolOption - try: - from SCons.Options.EnumOption import EnumOption except ImportError: + from SCons.Options.BoolOption import BoolOption + try: from SCons.Variables.EnumVariable import EnumVariable as EnumOption + except ImportError: + from SCons.Options.EnumOption import EnumOption opts.Add(BoolOption('debug', 'debug build', 'no')) opts.Add(BoolOption('profile', 'profile build', 'no')) #opts.Add(BoolOption('quiet', 'quiet command lines', 'no')) |