mirror of
https://github.com/httpie/cli.git
synced 2025-01-10 00:28:12 +02:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
585cc0c039
@ -347,7 +347,7 @@ class Downloader:
|
|||||||
|
|
||||||
|
|
||||||
class DownloadStatus:
|
class DownloadStatus:
|
||||||
"""Holds details about the downland status."""
|
"""Holds details about the download status."""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.downloaded = 0
|
self.downloaded = 0
|
||||||
|
@ -34,7 +34,8 @@ def test_rst_file_syntax(filename):
|
|||||||
p = subprocess.Popen(
|
p = subprocess.Popen(
|
||||||
['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename],
|
['rst2pseudoxml.py', '--report=1', '--exit-status=1', filename],
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
stdout=subprocess.PIPE
|
stdout=subprocess.PIPE,
|
||||||
|
shell=True
|
||||||
)
|
)
|
||||||
err = p.communicate()[1]
|
err = p.communicate()[1]
|
||||||
assert p.returncode == 0, err.decode('utf8')
|
assert p.returncode == 0, err.decode('utf8')
|
||||||
|
Loading…
Reference in New Issue
Block a user