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 bb242d9 commit 22c919bCopy full SHA for 22c919b
tools/mkbuildoptglobals.py
@@ -584,7 +584,7 @@ def main_inspect(args: argparse.Namespace):
584
try:
585
extract_build_opt_from_path(buffer, args.build_opt_name, p)
586
except ParsingException as e:
587
- raise e from None
+ raise e
588
589
logging.info(buffer.getvalue())
590
@@ -602,7 +602,7 @@ def main_synchronize(args: argparse.Namespace):
602
603
def as_path(p: str) -> pathlib.Path:
604
if p.startswith("{") or p.endswith("}"):
605
- raise ValueError(f'"{p}" was not resolved') from None
+ raise ValueError(f'"{p}" was not resolved')
606
607
return pathlib.Path(p)
608
0 commit comments