Commit ab171c5e93f97e043448a5c4f082e15758effa05

Authored by Etienne Pallier
1 parent 2912abf2
Exists in dev

Agent specific command optim

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/core/pyros_django/agent/Agent.py
@@ -2006,7 +2006,7 @@ class Agent: @@ -2006,7 +2006,7 @@ class Agent:
2006 # equivalent to calling self.func(*cmd.args) 2006 # equivalent to calling self.func(*cmd.args)
2007 return getattr(self, func)(*args) 2007 return getattr(self, func)(*args)
2008 except (TypeError, AttributeError, ValueError) as e: 2008 except (TypeError, AttributeError, ValueError) as e:
2009 - raise e 2009 + #raise e
2010 # "from None" pour ne pas afficher l'exception AttributeError (car interne) 2010 # "from None" pour ne pas afficher l'exception AttributeError (car interne)
2011 raise AgentCmdBadArgsException(cmd) from None 2011 raise AgentCmdBadArgsException(cmd) from None
2012 #print("I know this specific command but it is not yet implemented : ", func) 2012 #print("I know this specific command but it is not yet implemented : ", func)