#3107 Reduce dense commenting

This commit is contained in:
Archer Bowen
2025-03-03 16:21:15 +00:00
committed by Marek Wolan
parent 3690b61be5
commit 4fbcd511b3

View File

@@ -355,7 +355,7 @@ class TAP003(AbstractTAP, discriminator="tap-003"):
"new_password": self._next_account_change["new_password"], "new_password": self._next_account_change["new_password"],
} }
self.logger.info("Changing local password.") self.logger.info("Changing local password.")
# If statement to catch last host edge case - we don't want cause an IndexError # Catch last host edge case.
if len(account_changes) == 0: if len(account_changes) == 0:
self.logger.info("No further account changes required.") self.logger.info("No further account changes required.")
self._next_account_change = None self._next_account_change = None
@@ -389,7 +389,7 @@ class TAP003(AbstractTAP, discriminator="tap-003"):
], ],
} }
self.logger.info(f"Changing password on remote node {hostname}") self.logger.info(f"Changing password on remote node {hostname}")
# If statement to catch last host edge case - we don't want cause an IndexError # Catch last host edge case.
if len(account_changes) == 0: if len(account_changes) == 0:
self.logger.info("No further account changes required.") self.logger.info("No further account changes required.")
self._next_account_change = None self._next_account_change = None