multiSSH3 5.55__py3-none-any.whl → 5.56__py3-none-any.whl

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.

Potentially problematic release.


This version of multiSSH3 might be problematic. Click here for more details.

multiSSH3.py CHANGED
@@ -54,10 +54,10 @@ except AttributeError:
54
54
  # If neither is available, use a dummy decorator
55
55
  def cache_decorator(func):
56
56
  return func
57
- version = '5.55'
57
+ version = '5.56'
58
58
  VERSION = version
59
59
  __version__ = version
60
- COMMIT_DATE = '2025-03-01'
60
+ COMMIT_DATE = '2025-03-06'
61
61
 
62
62
  CONFIG_FILE_CHAIN = ['./multiSSH3.config.json',
63
63
  '~/multiSSH3.config.json',
@@ -2573,6 +2573,10 @@ def run_command_on_hosts(hosts = DEFAULT_HOSTS,commands = None,oneonone = DEFAUL
2573
2573
  if quiet:
2574
2574
  __global_suppress_printout = True
2575
2575
  # We create the hosts
2576
+ if isinstance(hosts, list):
2577
+ hosts = frozenset(hosts)
2578
+ elif isinstance(hosts, dict):
2579
+ hosts = frozenset(hosts.keys())
2576
2580
  hostStr = formHostStr(hosts)
2577
2581
  skipHostStr = formHostStr(skip_hosts) if skip_hosts else ''
2578
2582
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: multiSSH3
3
- Version: 5.55
3
+ Version: 5.56
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
@@ -0,0 +1,6 @@
1
+ multiSSH3.py,sha256=Ybn3_67O49Cah7uuGUvxnWBiZ7GfOT9wFAe8RMQ7qZY,139586
2
+ multissh3-5.56.dist-info/METADATA,sha256=1QxXM8Sf530brcOGDSFRGlMCbRZkQoBxwWmubIjL7ZQ,18092
3
+ multissh3-5.56.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
4
+ multissh3-5.56.dist-info/entry_points.txt,sha256=xi2rWWNfmHx6gS8Mmx0rZL2KZz6XWBYP3DWBpWAnnZ0,143
5
+ multissh3-5.56.dist-info/top_level.txt,sha256=tUwttxlnpLkZorSsroIprNo41lYSxjd2ASuL8-EJIJw,10
6
+ multissh3-5.56.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- multiSSH3.py,sha256=AQCio2dZXYBrwBB1DP4j9E9b1HhqcJYmoLFNGxmsA4U,139465
2
- multissh3-5.55.dist-info/METADATA,sha256=66dhkZMrRHU4AVTbMT2sucnDbVhqctwWj9sY3DA2VsY,18092
3
- multissh3-5.55.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
4
- multissh3-5.55.dist-info/entry_points.txt,sha256=xi2rWWNfmHx6gS8Mmx0rZL2KZz6XWBYP3DWBpWAnnZ0,143
5
- multissh3-5.55.dist-info/top_level.txt,sha256=tUwttxlnpLkZorSsroIprNo41lYSxjd2ASuL8-EJIJw,10
6
- multissh3-5.55.dist-info/RECORD,,