mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
waf: Reformat using yapf
This commit is contained in:
committed by
Joel Sherrill
parent
64fe53a855
commit
2c4c73fd40
4
wscript
4
wscript
@@ -851,8 +851,8 @@ class OptionItem(Item):
|
|||||||
def _assert_in_set(self, conf, cic, value, arg):
|
def _assert_in_set(self, conf, cic, value, arg):
|
||||||
if value is not None and value not in arg:
|
if value is not None and value not in arg:
|
||||||
conf.fatal(
|
conf.fatal(
|
||||||
"Value '{}' for option '{}' is not an element of {}"
|
"Value '{}' for option '{}' is not an element of {}".format(
|
||||||
.format(value, self.data["name"], arg))
|
value, self.data["name"], arg))
|
||||||
return value
|
return value
|
||||||
|
|
||||||
def _assert_in_interval(self, conf, cic, value, arg):
|
def _assert_in_interval(self, conf, cic, value, arg):
|
||||||
|
|||||||
Reference in New Issue
Block a user