multiSSH3 5.24__py3-none-any.whl → 5.25__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: multiSSH3
3
- Version: 5.24
3
+ Version: 5.25
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,7 @@
1
+ multiSSH3.py,sha256=LYOYALmpZm9TNmU2p-PtOYtZr7iruTrmEGfmjpHTJBA,118034
2
+ multiSSH3-5.25.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
3
+ multiSSH3-5.25.dist-info/METADATA,sha256=-Z06xUIxVOfhBIUyvTDtWKjxlay9RX__ni77zK9fWfQ,17517
4
+ multiSSH3-5.25.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
5
+ multiSSH3-5.25.dist-info/entry_points.txt,sha256=xi2rWWNfmHx6gS8Mmx0rZL2KZz6XWBYP3DWBpWAnnZ0,143
6
+ multiSSH3-5.25.dist-info/top_level.txt,sha256=tUwttxlnpLkZorSsroIprNo41lYSxjd2ASuL8-EJIJw,10
7
+ multiSSH3-5.25.dist-info/RECORD,,
multiSSH3.py CHANGED
@@ -36,7 +36,7 @@ except AttributeError:
36
36
  # If neither is available, use a dummy decorator
37
37
  def cache_decorator(func):
38
38
  return func
39
- version = '5.24'
39
+ version = '5.25'
40
40
  VERSION = version
41
41
 
42
42
  CONFIG_FILE = '/etc/multiSSH3.config.json'
@@ -960,7 +960,9 @@ def expand_hostnames(hosts) -> dict:
960
960
  # we seperate the username from the hostname
961
961
  username = None
962
962
  if '@' in host:
963
- username, host = host.split('@',1).strip()
963
+ username, host = host.split('@',1)
964
+ username = username.strip()
965
+ host = host.strip()
964
966
  # first we check if the hostname is an range of IP addresses
965
967
  # This is done by checking if the hostname follows four fields of
966
968
  # "(((\d{1,3}|x|\*|\?)(-(\d{1,3}|x|\*|\?))?)|(\[(\d{1,3}|x|\*|\?)(-(\d{1,3}|x|\*|\?))?\]))"
@@ -1,7 +0,0 @@
1
- multiSSH3.py,sha256=C8mJAlGUn16EPb-S3qn2h4EsdQ9WSBrgdgFsGb1PDHE,117988
2
- multiSSH3-5.24.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
3
- multiSSH3-5.24.dist-info/METADATA,sha256=dkIUsooONdhyTGriNyRaW08ai0VUyCKA-SQA6Y47ZQA,17517
4
- multiSSH3-5.24.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
5
- multiSSH3-5.24.dist-info/entry_points.txt,sha256=xi2rWWNfmHx6gS8Mmx0rZL2KZz6XWBYP3DWBpWAnnZ0,143
6
- multiSSH3-5.24.dist-info/top_level.txt,sha256=tUwttxlnpLkZorSsroIprNo41lYSxjd2ASuL8-EJIJw,10
7
- multiSSH3-5.24.dist-info/RECORD,,