multiSSH3 6.21__tar.gz → 6.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {multissh3-6.21 → multissh3-6.22}/PKG-INFO +1 -1
- {multissh3-6.21 → multissh3-6.22}/multiSSH3.egg-info/PKG-INFO +1 -1
- {multissh3-6.21 → multissh3-6.22}/multiSSH3.py +5 -5
- {multissh3-6.21 → multissh3-6.22}/README.md +0 -0
- {multissh3-6.21 → multissh3-6.22}/multiSSH3.egg-info/SOURCES.txt +0 -0
- {multissh3-6.21 → multissh3-6.22}/multiSSH3.egg-info/dependency_links.txt +0 -0
- {multissh3-6.21 → multissh3-6.22}/multiSSH3.egg-info/entry_points.txt +0 -0
- {multissh3-6.21 → multissh3-6.22}/multiSSH3.egg-info/requires.txt +0 -0
- {multissh3-6.21 → multissh3-6.22}/multiSSH3.egg-info/top_level.txt +0 -0
- {multissh3-6.21 → multissh3-6.22}/setup.cfg +0 -0
- {multissh3-6.21 → multissh3-6.22}/setup.py +0 -0
- {multissh3-6.21 → multissh3-6.22}/test/test.py +0 -0
- {multissh3-6.21 → multissh3-6.22}/test/testCurses.py +0 -0
- {multissh3-6.21 → multissh3-6.22}/test/testCursesOld.py +0 -0
- {multissh3-6.21 → multissh3-6.22}/test/testPerfCompact.py +0 -0
- {multissh3-6.21 → multissh3-6.22}/test/testPerfExpand.py +0 -0
|
@@ -29,16 +29,16 @@ import textwrap
|
|
|
29
29
|
import threading
|
|
30
30
|
import time
|
|
31
31
|
import typing
|
|
32
|
-
import
|
|
32
|
+
from uuid import uuid4
|
|
33
33
|
from collections import Counter, defaultdict, deque, ChainMap
|
|
34
34
|
from itertools import count, product
|
|
35
35
|
from pprint import pformat
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
version = '6.
|
|
38
|
+
version = '6.22'
|
|
39
39
|
VERSION = version
|
|
40
40
|
__version__ = version
|
|
41
|
-
COMMIT_DATE = '2026-04-
|
|
41
|
+
COMMIT_DATE = '2026-04-21'
|
|
42
42
|
# TODO: Add terminal TUI
|
|
43
43
|
|
|
44
44
|
CONFIG_FILE_CHAIN = ['./multiSSH3.config.json',
|
|
@@ -458,7 +458,7 @@ if __curses_available:
|
|
|
458
458
|
|
|
459
459
|
#%% ------------ Host Object ----------------
|
|
460
460
|
class Host:
|
|
461
|
-
def __init__(self, name, command, files = None,ipmi = False,interface_ip_prefix = None,scp=False,extraargs=None,gatherMode=False,identity_file=None,shell=False,i = -1,uuid
|
|
461
|
+
def __init__(self, name, command, files = None,ipmi = False,interface_ip_prefix = None,scp=False,extraargs=None,gatherMode=False,identity_file=None,shell=False,i = -1,uuid=...,ip = None):
|
|
462
462
|
self.name = name # the name of the host (hostname or IP address)
|
|
463
463
|
self.command = command # the command to run on the host
|
|
464
464
|
self.returncode = None # the return code of the command
|
|
@@ -478,7 +478,7 @@ class Host:
|
|
|
478
478
|
self.resolvedName = None # the resolved IP address of the host
|
|
479
479
|
# also store a globally unique integer i from 0
|
|
480
480
|
self.i = i if i != -1 else _get_i()
|
|
481
|
-
self.uuid = uuid
|
|
481
|
+
self.uuid = uuid if uuid is not ... else uuid4()
|
|
482
482
|
self.identity_file = identity_file
|
|
483
483
|
self.ip = ip if ip else getIP(name)
|
|
484
484
|
self.current_color_pair = [-1, -1, 1]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|