From 2c4c73fd40e737fa19817cb4ed3920f8a4462d45 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 18 Oct 2024 14:52:44 +1100 Subject: [PATCH] waf: Reformat using yapf --- wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index aa1168754f..cff75019e4 100755 --- a/wscript +++ b/wscript @@ -851,8 +851,8 @@ class OptionItem(Item): def _assert_in_set(self, conf, cic, value, arg): if value is not None and value not in arg: conf.fatal( - "Value '{}' for option '{}' is not an element of {}" - .format(value, self.data["name"], arg)) + "Value '{}' for option '{}' is not an element of {}".format( + value, self.data["name"], arg)) return value def _assert_in_interval(self, conf, cic, value, arg): @@ -1008,7 +1008,7 @@ class OptionItem(Item): except configparser.NoOptionError: value = self.default_value(conf.env.ENABLE) if not value: - return None + return None try: return eval(value) except Exception as e: