summaryrefslogtreecommitdiff
path: root/devel/py-http-prompt/files/patch-http__prompt_execution.py
diff options
context:
space:
mode:
authorBartek Rutkowski <robak@FreeBSD.org>2016-05-30 19:02:47 +0000
committerBartek Rutkowski <robak@FreeBSD.org>2016-05-30 19:02:47 +0000
commit449c05930612ebef03f37ad9092f0015cfe58756 (patch)
tree57e0b614b0271c4c97d1aff10b96219c00e18995 /devel/py-http-prompt/files/patch-http__prompt_execution.py
parentUpdate to 3.4.12. (diff)
devel/py-http-prompt: NEW PORT - Interactive command-line HTTP client
HTTP Prompt is an interactive command-line HTTP client featuring autocomplete and syntax highlighting, built on HTTPie and prompt_toolkit. WWW: https://pypi.python.org/pypi/http-prompt PR: 209733 Submitted by: Danilo G. Baio <dbaio@bsd.com.br>
Diffstat (limited to 'devel/py-http-prompt/files/patch-http__prompt_execution.py')
-rw-r--r--devel/py-http-prompt/files/patch-http__prompt_execution.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/py-http-prompt/files/patch-http__prompt_execution.py b/devel/py-http-prompt/files/patch-http__prompt_execution.py
new file mode 100644
index 000000000000..5e63b4c329e8
--- /dev/null
+++ b/devel/py-http-prompt/files/patch-http__prompt_execution.py
@@ -0,0 +1,11 @@
+--- http_prompt/execution.py.orig 2016-05-20 07:19:56 UTC
++++ http_prompt/execution.py
+@@ -241,7 +241,7 @@ class ExecutionVisitor(NodeVisitor):
+ assert children[0].expr_name == 'action'
+ output = BytesIO()
+ try:
+- env = Environment(stdout=output)
++ env = Environment()
+ httpie_main(context.httpie_args(self.method), env=env)
+ content = output.getvalue()
+ finally: