diff options
author | Derek Straka <derek@asterius.io> | 2017-12-25 13:25:13 -0500 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-12-30 12:33:18 -0800 |
commit | 83b097cc3b9ed4a45cb8b1fb3b3ef8a09f32ea48 (patch) | |
tree | 9c10a719f1127394059c1be9d05bae61319459e8 /meta-python/recipes-devtools/python/python-flask-wtf/import-simplejson-as-json.patch | |
parent | 91a32418bd771fe914c531a6a96303355b108e87 (diff) | |
download | meta-openembedded-contrib-83b097cc3b9ed4a45cb8b1fb3b3ef8a09f32ea48.tar.gz |
python-flask-wtf: update to version 0.14.2
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-flask-wtf/import-simplejson-as-json.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python-flask-wtf/import-simplejson-as-json.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta-python/recipes-devtools/python/python-flask-wtf/import-simplejson-as-json.patch b/meta-python/recipes-devtools/python/python-flask-wtf/import-simplejson-as-json.patch deleted file mode 100644 index 678f7062b7..0000000000 --- a/meta-python/recipes-devtools/python/python-flask-wtf/import-simplejson-as-json.patch +++ /dev/null @@ -1,28 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -Subject: [PATCH] import simplejson as json - -At runtime python-Flask-WTF tries to import json, but the module is not -available, import simplejson as json solve the issue. - -Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> ---- - flask_wtf/recaptcha/validators.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/flask_wtf/recaptcha/validators.py b/flask_wtf/recaptcha/validators.py -index bcff23d..4a244bb 100644 ---- a/flask_wtf/recaptcha/validators.py -+++ b/flask_wtf/recaptcha/validators.py -@@ -8,7 +8,7 @@ from flask import request, current_app - from wtforms import ValidationError - from werkzeug import url_encode - from .._compat import to_bytes, to_unicode --import json -+import simplejson as json - - RECAPTCHA_VERIFY_SERVER = 'https://www.google.com/recaptcha/api/siteverify' - RECAPTCHA_ERROR_CODES = { --- -2.1.4 - |