HomeClusterLabs Projects

Refactor: python: Fix bare except problems.

Description

Refactor: python: Fix bare except problems.

  • The networking code appears to only raise one exception, so we can just catch that.
  • The other two spots we want to catch anything that happens when running a test or scenario so we can clean up, so in these cases we just need to tell flake to ignore them. We are already doing this for pylint.

Details

Provenance
clumensAuthored on Jan 5 2024, 10:05 AM
Parents
rPc45015be70b6: Refactor: python: Remove extra whitespace when building enums.
Branches
Unknown
Tags
Unknown