From 4fbcd511b3c8ad391224fedcdd8c563a9c2814a9 Mon Sep 17 00:00:00 2001 From: Archer Bowen Date: Mon, 3 Mar 2025 16:21:15 +0000 Subject: [PATCH] #3107 Reduce dense commenting --- src/primaite/game/agent/scripted_agents/TAP003.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/primaite/game/agent/scripted_agents/TAP003.py b/src/primaite/game/agent/scripted_agents/TAP003.py index c33c7c1a..020b944b 100644 --- a/src/primaite/game/agent/scripted_agents/TAP003.py +++ b/src/primaite/game/agent/scripted_agents/TAP003.py @@ -355,7 +355,7 @@ class TAP003(AbstractTAP, discriminator="tap-003"): "new_password": self._next_account_change["new_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: self.logger.info("No further account changes required.") 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}") - # 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: self.logger.info("No further account changes required.") self._next_account_change = None