- no need to logout

This commit is contained in:
ssamson-tis 2016-03-04 17:29:02 +01:00
parent 58de53d97b
commit c08bbd165b

View File

@ -156,8 +156,8 @@ class backup_switch(backup_generic):
if "Unrecognized command" in lines:
raise Exception("Bad Credentials")
child.sendline("exit")
child.expect( ">")
child.sendline("logout")
#child.expect( ">")
#child.sendline("logout")
for line in lines.split("\n")[1:-1]:
open(filename,"a").write(line.strip()+"\n")