From ab171c5e93f97e043448a5c4f082e15758effa05 Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Tue, 28 Jun 2022 18:55:03 +0200 Subject: [PATCH] Agent specific command optim --- src/core/pyros_django/agent/Agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/pyros_django/agent/Agent.py b/src/core/pyros_django/agent/Agent.py index 06979c3..6dcf50e 100755 --- a/src/core/pyros_django/agent/Agent.py +++ b/src/core/pyros_django/agent/Agent.py @@ -2006,7 +2006,7 @@ class Agent: # equivalent to calling self.func(*cmd.args) return getattr(self, func)(*args) except (TypeError, AttributeError, ValueError) as e: - raise e + #raise e # "from None" pour ne pas afficher l'exception AttributeError (car interne) raise AgentCmdBadArgsException(cmd) from None #print("I know this specific command but it is not yet implemented : ", func) -- libgit2 0.21.2