mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 20:27:54 +00:00
corrected logging
This commit is contained in:
@@ -1029,10 +1029,10 @@ def main():
|
|||||||
logg.info("9800 did not send logout at end of command processing this could tie up the connection")
|
logg.info("9800 did not send logout at end of command processing this could tie up the connection")
|
||||||
if( scheme == "telnet"):
|
if( scheme == "telnet"):
|
||||||
egg.sendline("\x1b\r")
|
egg.sendline("\x1b\r")
|
||||||
|
logg.info("send escape to exit connection")
|
||||||
sleep(0.2)
|
sleep(0.2)
|
||||||
logg.info("send close to the egg child process")
|
logg.info("send close to the egg child process")
|
||||||
egg.close(force = True)
|
egg.close(force = True)
|
||||||
logg.info("send escape to exit connection")
|
|
||||||
# 3504
|
# 3504
|
||||||
else:
|
else:
|
||||||
if (command is None ):
|
if (command is None ):
|
||||||
|
|||||||
Reference in New Issue
Block a user