ap_tools removed too many outputs

Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
This commit is contained in:
shivamcandela
2021-09-19 08:09:49 +05:30
parent 81e879d04e
commit cad616b915

View File

@@ -41,8 +41,8 @@ class APTools:
output, error = self.apnos.reboot()
print(output, error)
elif action == "run_cmd":
[input, output, error] = self.apnos.run_generic_command(cmd=cmd)
print(input, output, error)
output = self.apnos.run_generic_command(cmd=cmd)
print(output)
elif action == "verify":
[input, output, error] = self.apnos.run_generic_command("cat /tmp/sysinfo/model;"
"cat /etc/banner")