This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/master by this push:
new e9ec339 Removing format string so compatible with Python 3.4
e9ec339 is described below
commit e9ec339add99cf20106f2ad49b6f7bb1a7b1e1ff
Author: Marcus Christie <[email protected]>
AuthorDate: Wed Jul 18 15:11:50 2018 -0400
Removing format string so compatible with Python 3.4
---
django_airavata/wagtailapps/base/wagtail_hooks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/django_airavata/wagtailapps/base/wagtail_hooks.py
b/django_airavata/wagtailapps/base/wagtail_hooks.py
index 03d25b7..4adcd22 100644
--- a/django_airavata/wagtailapps/base/wagtail_hooks.py
+++ b/django_airavata/wagtailapps/base/wagtail_hooks.py
@@ -8,7 +8,7 @@ def register_custom_style_feature(features):
feature_name = 'purple'
type_ = feature_name.upper()
tag = 'span'
- detection = f'{tag}[class="{feature_name}"]'
+ detection = '{tag}[class="{feature_name}"]'.format(tag=tag,
feature_name=feature_name)
control = {
'type': type_,