multiSSH3 6.22__tar.gz → 6.23__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: multiSSH3
3
- Version: 6.22
3
+ Version: 6.23
4
4
  Summary: Run commands on multiple hosts via SSH
5
5
  Home-page: https://github.com/yufei-pan/multiSSH3
6
6
  Author: Yufei Pan
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: multiSSH3
3
- Version: 6.22
3
+ Version: 6.23
4
4
  Summary: Run commands on multiple hosts via SSH
5
5
  Home-page: https://github.com/yufei-pan/multiSSH3
6
6
  Author: Yufei Pan
@@ -35,10 +35,10 @@ from itertools import count, product
35
35
  from pprint import pformat
36
36
 
37
37
 
38
- version = '6.22'
38
+ version = '6.23'
39
39
  VERSION = version
40
40
  __version__ = version
41
- COMMIT_DATE = '2026-04-21'
41
+ COMMIT_DATE = '2026-06-01'
42
42
  # TODO: Add terminal TUI
43
43
 
44
44
  CONFIG_FILE_CHAIN = ['./multiSSH3.config.json',
@@ -3383,10 +3383,11 @@ def processRunOnHosts(timeout, password, max_connections, hosts, return_unfinish
3383
3383
  for hostname, expTime in unavailableHosts.items():
3384
3384
  if hostname not in oldDic or oldDic[hostname] < expTime:
3385
3385
  oldDic[hostname] = expTime
3386
- with open(os.path.join(tempfile.gettempdir(),getpass.getuser()+'__multiSSH3_UNAVAILABLE_HOSTS.csv.new'),'w') as f:
3386
+ newFileName = os.path.join(tempfile.gettempdir(),getpass.getuser()+'__multiSSH3_UNAVAILABLE_HOSTS.csv.' + uuid4().hex)
3387
+ with open(newFileName,'w') as f:
3387
3388
  for key, value in oldDic.items():
3388
3389
  f.write(f'{key},{value}\n')
3389
- os.replace(os.path.join(tempfile.gettempdir(),getpass.getuser()+'__multiSSH3_UNAVAILABLE_HOSTS.csv.new'),os.path.join(tempfile.gettempdir(),f'__{getpass.getuser()}_multiSSH3_UNAVAILABLE_HOSTS.csv'))
3390
+ os.replace(newFileName,os.path.join(tempfile.gettempdir(),f'__{getpass.getuser()}_multiSSH3_UNAVAILABLE_HOSTS.csv'))
3390
3391
  except Exception as e:
3391
3392
  eprint(f'Error writing to temporary file: {e!r}')
3392
3393
  import traceback
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes