Ok, now what?!
This commit is contained in:
@@ -123,6 +123,7 @@ class Worker(threading.Thread):
|
|||||||
|
|
||||||
for command in commands:
|
for command in commands:
|
||||||
if not send_config(telnet, command):
|
if not send_config(telnet, command):
|
||||||
|
print(command.get_command())
|
||||||
self.__failed.put(inue)
|
self.__failed.put(inue)
|
||||||
fail = True
|
fail = True
|
||||||
break
|
break
|
||||||
@@ -140,7 +141,7 @@ class Worker(threading.Thread):
|
|||||||
with telnetlib.Telnet(new_ip, PORT) as telnet:
|
with telnetlib.Telnet(new_ip, PORT) as telnet:
|
||||||
self.__passed.put(new_ip)
|
self.__passed.put(new_ip)
|
||||||
except OSError:
|
except OSError:
|
||||||
FAILED_QUEUE.put(inue)
|
self.__failed.put(inue)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user