HomeClusterLabs Projects

Refactor: python: Improve reattach.py.

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: python: Improve reattach.py.

  • Disable pylint warnings we can't really do anything about.
  • Use %r instead of repr in format strings.
  • Rename stopall to _stopall since it is a private attribute.
  • Remove the unused restart1 attribute.
  • Use the correct return values in setup and teardown. This will ensure errors in these functions count towards the success/failure stats.
  • Get rid of is_unsafe and is_applicable. These don't do anything different from the superclass versions.

Details

Provenance
clumensAuthored on Jun 1 2023, 12:31 PM

Commit No Longer Exists

This commit no longer exists in the repository.