From 19aa439339b43435ded3a14f57ac95be4b6ffcc3 Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Fri, 7 Feb 2025 10:21:20 +0100 Subject: [PATCH] reword comment slightly --- snappea/foreman.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snappea/foreman.py b/snappea/foreman.py index 8666673..44b455c 100644 --- a/snappea/foreman.py +++ b/snappea/foreman.py @@ -180,7 +180,8 @@ class Foreman: logger.warning("Snappea caught Exception: %s", str(e)) capture_exception(e) finally: - # equivalent to the below (in both cases nothing happens with already-closed/never opened connections) + # equivalent to the below, but slightly more general (and thus more future-proof). In both cases nothing + # happens with already-closed/never opened connections): # self.connection_close() # self.connection_close(using="snappea") # for tasks delaying other tasks (not used currently) for connection in connections.all():