HomeClusterLabs Projects

Refactor: python: Clean up comparisons in watcher.py.

Description

Refactor: python: Clean up comparisons in watcher.py.

  • Use "is None" instead of "== None".
  • Use "if lst" instead of "if len(lst)"

Details

Provenance
clumensAuthored on Mar 28 2023, 4:01 PM
Parents
rP71cc178822f2: Refactor: python: Remove unnecessary parentheses.
Branches
Unknown
Tags
Unknown