From ef0c826778582347bbb43ad90db10ca83caf7e11 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Sat, 19 May 2018 11:20:47 +0200 Subject: [PATCH] Avoid a bash syntax error. --- paste/templates/paste/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/paste/templates/paste/index.html b/paste/templates/paste/index.html index 4615cce..c21fdea 100644 --- a/paste/templates/paste/index.html +++ b/paste/templates/paste/index.html @@ -65,7 +65,10 @@ (attribute name is used for syntax highlighting, and shortcuts like "py" are allowed, see Language dropdown for language list.)

You may even use a bash function: -
wyz() { curl {{ absolute_index_url }} -Fpython=@$1 }
+
wyz()
+{
+    curl {{ absolute_index_url }} -Fpython=@$1
+}
{% endblock %}