summaryrefslogtreecommitdiff
path: root/devel/py-http-prompt/files/patch-http__prompt_execution.py
diff options
context:
space:
mode:
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: