diff options
Diffstat (limited to 'source/n/pssh/pssh-read-stdin-as-bytes-in-Python-3.patch')
-rw-r--r-- | source/n/pssh/pssh-read-stdin-as-bytes-in-Python-3.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/n/pssh/pssh-read-stdin-as-bytes-in-Python-3.patch b/source/n/pssh/pssh-read-stdin-as-bytes-in-Python-3.patch deleted file mode 100644 index c64d7746..00000000 --- a/source/n/pssh/pssh-read-stdin-as-bytes-in-Python-3.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/bin/pssh b/bin/pssh -index 860bad2..5fe726d 100755 ---- a/bin/pssh -+++ b/bin/pssh -@@ -65,7 +65,10 @@ def do_pssh(hosts, cmdline, opts): - if opts.errdir and not os.path.exists(opts.errdir): - os.makedirs(opts.errdir) - if opts.send_input: -- stdin = sys.stdin.read() -+ if hasattr(sys.stdin, 'buffer'): -+ stdin = sys.stdin.buffer.read() -+ else: -+ stdin = sys.stdin.read() - else: - stdin = None - manager = Manager(opts) |