We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377fcd6 commit 5d2b24eCopy full SHA for 5d2b24e
acbs/ab3cfg.py
@@ -11,7 +11,7 @@ def is_in_stage2() -> bool:
11
with open(ab3cfg_path) as f:
12
vars = bashvar.eval_bashvar(f.read(), filename=ab3cfg_path)
13
stage2_val: str = vars.get('ABSTAGE2')
14
- return True if stage2_val == '1' else False
+ return stage2_val == '1'
15
except OSError as e:
16
raise RuntimeError(f'Unable to read Autobuild config file {ab3cfg_path}.') from e
17
except ParseException as e:
0 commit comments