Commit dc6c309
committed
utilities: Replace telnetlib with socket.
telnetlib is getting removed from standard python library in python 3.13[0].
While there are 3rd party replacements, it was used only to check if a port is
open. We can use built-in socket library for that.
[0] https://docs.python.org/3.13/library/telnetlib.html
Signed-off-by: Martin Kalcok <[email protected]>1 parent fb477bb commit dc6c309
File tree
2 files changed
+28
-12
lines changed- unit_tests/utilities
- zaza/openstack/utilities
2 files changed
+28
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
418 | 419 | | |
419 | | - | |
420 | | - | |
421 | | - | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
422 | 423 | | |
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
426 | 427 | | |
| 428 | + | |
427 | 429 | | |
428 | | - | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
429 | 437 | | |
430 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
431 | 441 | | |
| 442 | + | |
432 | 443 | | |
433 | 444 | | |
434 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
583 | 582 | | |
584 | 583 | | |
585 | 584 | | |
586 | | - | |
| 585 | + | |
587 | 586 | | |
588 | 587 | | |
589 | | - | |
| 588 | + | |
590 | 589 | | |
591 | 590 | | |
592 | | - | |
593 | | - | |
594 | | - | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
595 | 596 | | |
596 | 597 | | |
597 | 598 | | |
| 599 | + | |
| 600 | + | |
598 | 601 | | |
599 | | - | |
| 602 | + | |
600 | 603 | | |
601 | 604 | | |
602 | 605 | | |
| |||
606 | 609 | | |
607 | 610 | | |
608 | 611 | | |
| 612 | + | |
| 613 | + | |
609 | 614 | | |
610 | 615 | | |
611 | 616 | | |
| |||
0 commit comments