From e0d96abf1cd480d07c86d8f6f841f70ad14bf00e Mon Sep 17 00:00:00 2001 From: ayub-khan Date: Mon, 13 Nov 2017 17:57:14 +0500 Subject: [PATCH] Minor Code Refactor LEARNER-2653 Jenkins translation job pybabel process was not able to interpret this line and causing syntax error. --- common/lib/capa/capa/templates/annotationinput.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/capa/capa/templates/annotationinput.html b/common/lib/capa/capa/templates/annotationinput.html index cae750afe6..e9940badd3 100644 --- a/common/lib/capa/capa/templates/annotationinput.html +++ b/common/lib/capa/capa/templates/annotationinput.html @@ -22,7 +22,7 @@ % for option in options:
  • % if has_options_value: - % if all([c == status.classname for c in option['choice'], status]): + % if all(c == status.classname for c in (option['choice'], status)): <%include file="status_span.html" args="status=status"/>