Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manifest: refactor _is_submodule_dict_ok(); add nested _assert()
Add nested _assert() function that raises an exception and reduces "return False" duplication. Because of the added scaffolding this adds about 10 lines, on other hand it brings all conditions together in one place, removes negations and makes it easier to add conditions. Signed-off-by: Marc Herbert <[email protected]>
- Loading branch information