Skip to content

Commit 8791b09

Browse files
author
Shreyas-Microsoft
committed
fix pylint
1 parent 63165a7 commit 8791b09

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/backend/sql_agents/helpers/comms_manager.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,10 @@ async def cleanup(self):
264264
try:
265265
if self.group_chat is not None:
266266
self.logger.debug("Cleaning up AgentGroupChat resources...")
267-
268267
# Reset the group chat - this clears conversation state and deletes remote threads
269268
await self.group_chat.reset()
270-
271269
self.logger.debug("AgentGroupChat cleanup completed successfully")
272-
270+
273271
except Exception as e:
274272
self.logger.error("Error during cleanup: %s", str(e))
275273

@@ -285,4 +283,4 @@ def __del__(self):
285283
# No event loop running, can't clean up asynchronously
286284
self.logger.warning("No event loop available for cleanup in destructor")
287285
except Exception as e:
288-
self.logger.error("Error in destructor cleanup: %s", str(e))
286+
self.logger.error("Error in destructor cleanup: %s", str(e))

0 commit comments

Comments
 (0)