From d5f88a40ac45dbfb32ef7b8ca6b85c495602a249 Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Fri, 12 Aug 2022 13:49:42 +0200 Subject: [PATCH] bugfix --- src/core/pyros_django/agent/Agent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/pyros_django/agent/Agent.py b/src/core/pyros_django/agent/Agent.py index d7878c0..77ad10b 100755 --- a/src/core/pyros_django/agent/Agent.py +++ b/src/core/pyros_django/agent/Agent.py @@ -1064,9 +1064,6 @@ class Agent: self._main_loop_end() - log.info("*"*20 + " MAIN LOOP ITERATION (END) " + "*"*20) - #self.do_log(LOG_DEBUG, "Ending main loop iteration") - self._iter_num += 1 @@ -1119,6 +1116,9 @@ class Agent: def _main_loop_end(self): self.main_loop_end() + log.info("*"*20 + " MAIN LOOP ITERATION (END) " + "*"*20) + #self.do_log(LOG_DEBUG, "Ending main loop iteration") + # To be overriden by subclass def main_loop_end(self): pass -- libgit2 0.21.2