diff options
author | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-06-19 10:45:20 +0300 |
---|---|---|
committer | Igor Gnatenko <i.gnatenko.brain@gmail.com> | 2015-06-19 10:45:20 +0300 |
commit | bc865ab9436a7274a08f08cfa98d91340cfe419a (patch) | |
tree | 29a3c74eb99a8640483df4dfc4da63fc9f2d0994 /optinterpreter.py | |
parent | 59161f0300abb450bbe5f2f603c4f2b6efb90944 (diff) | |
download | meson-bc865ab9436a7274a08f08cfa98d91340cfe419a.zip meson-bc865ab9436a7274a08f08cfa98d91340cfe419a.tar.gz meson-bc865ab9436a7274a08f08cfa98d91340cfe419a.tar.bz2 |
optinterpreter: Undefined variable 'valuestring'
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'optinterpreter.py')
-rw-r--r-- | optinterpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/optinterpreter.py b/optinterpreter.py index 6d170e8..fa6a0f5 100644 --- a/optinterpreter.py +++ b/optinterpreter.py @@ -61,7 +61,7 @@ class UserBooleanOption(UserOption): def set_value(self, newvalue): if not isinstance(newvalue, bool): - raise OptionException('Value "%s" for boolean option "%s" is not a boolean.' % (valuestring, self.name)) + raise OptionException('Value "%s" for boolean option "%s" is not a boolean.' % (str(newvalue), self.name)) self.value = newvalue def parse_string(self, valuestring): |