From 89faec994a56698746077ed6ea0d18a26c7fa3e0 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Wed, 4 Dec 2019 23:32:08 +1100 Subject: [PATCH 1/2] Fix simple typo: downland -> download (#823) Closes #822 --- httpie/downloads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httpie/downloads.py b/httpie/downloads.py index 78e1eb20..2a1beeac 100644 --- a/httpie/downloads.py +++ b/httpie/downloads.py @@ -347,7 +347,7 @@ class Downloader: class DownloadStatus: - """Holds details about the downland status.""" + """Holds details about the download status.""" def __init__(self): self.downloaded = 0 From 615d8875131a686113c5726699d9bac84f1553f2 Mon Sep 17 00:00:00 2001 From: Roger Wernersson Date: Wed, 4 Dec 2019 13:33:13 +0100 Subject: [PATCH 2/2] run rst2pseudoxml.py with shell=true (#821) makes rst2pseudoxml.py work properly on Windows executes via a shell instead of not working --- tests/test_docs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_docs.py b/tests/test_docs.py index 766810af..3966f81d 100644 --- a/tests/test_docs.py +++ b/tests/test_docs.py @@ -34,7 +34,8 @@ def test_rst_file_syntax(filename): p = subprocess.Popen( ['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename], stderr=subprocess.PIPE, - stdout=subprocess.PIPE + stdout=subprocess.PIPE, + shell=True ) err = p.communicate()[1] assert p.returncode == 0, err.decode('utf8')