summaryrefslogtreecommitdiff
path: root/source/n/pssh/pssh-2.3.1-py3-min-int-none.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/pssh/pssh-2.3.1-py3-min-int-none.patch')
-rw-r--r--source/n/pssh/pssh-2.3.1-py3-min-int-none.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/n/pssh/pssh-2.3.1-py3-min-int-none.patch b/source/n/pssh/pssh-2.3.1-py3-min-int-none.patch
new file mode 100644
index 00000000..c202bc8e
--- /dev/null
+++ b/source/n/pssh/pssh-2.3.1-py3-min-int-none.patch
@@ -0,0 +1,13 @@
+diff --git a/bin/pssh b/bin/pssh
+index 5b6c2a5..dc53a36 100755
+--- a/bin/pssh
++++ b/bin/pssh
+@@ -90,7 +90,7 @@ def do_pssh(hosts, cmdline, opts):
+ except FatalError:
+ sys.exit(1)
+
+- if min(statuses) < 0:
++ if None in statuses:
+ # At least one process was killed.
+ sys.exit(3)
+ # The any builtin was introduced in Python 2.5 (so we can't use it yet):