Conditions | 2 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | #!/usr/bin/env python3 |
||
13 | def run_ssh_command_by_client(client, command): |
||
14 | """ |
||
15 | Running origin ssh command |
||
16 | :param client: String |
||
17 | :param command: String |
||
18 | :return: |
||
19 | """ |
||
20 | if client == mode.Client.ORIGIN: |
||
|
|||
21 | return run_ssh_command(command, remote_client.ssh_client_origin, client) |
||
22 | else: |
||
23 | return run_ssh_command(command, remote_client.ssh_client_target, client) |
||
24 | |||
46 |