Commit 6b91313971278bc6b203253e1eaee78f1b81daeb
1 parent
5d451472
Exists in
dev
supprimé param timeout inutile dans function send_cmd_for
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/core/pyros_django/agent/Agent.py
... | ... | @@ -1643,7 +1643,8 @@ class Agent: |
1643 | 1643 | AgentCmd.objects.create(sender=self.name, recipient=recipient_agent, name=cmd_name) |
1644 | 1644 | """ |
1645 | 1645 | #def send_command(self, to_agent, cmd_type, cmd_name, cmd_args=None): |
1646 | - def send_cmd_to(self, to_agent:str, cmd_name:str, cmd_args:str=None, validity:int=None, timeout:int=None): | |
1646 | + #def send_cmd_to(self, to_agent:str, cmd_name:str, cmd_args:str=None, validity:int=None, timeout:int=None): | |
1647 | + def send_cmd_to(self, to_agent:str, cmd_name:str, cmd_args:str=None, validity:int=None): | |
1647 | 1648 | """ |
1648 | 1649 | #ex: send_command(“AgentX”,”GENERIC”,”EVAL”,“3+4”) |
1649 | 1650 | ex: send_command(“AgentX”,"EVAL”,“3+4”) | ... | ... |