summaryrefslogtreecommitdiffstats
path: root/qtip/api/handler
diff options
context:
space:
mode:
authorAkhil Batra <akhil.batra@research.iiit.ac.in>2017-01-07 13:18:49 +0530
committerAkhil Batra <akhil.batra@research.iiit.ac.in>2017-01-07 19:47:12 +0530
commitcca988890e67c0a87becd925b9baff11d416c6a5 (patch)
tree755dbf8c4efc7bb25a45713b5dd44d0110cc9b22 /qtip/api/handler
parent0dbc16c41646cbec79b65ec2ac60b8965cd22db9 (diff)
modify deprecated imports
Add description for the api specs flask.ext.xx is deprecated. need to use flask_xx instead https://github.com/pallets/flask/issues/1135 Change-Id: I9960dd44d03243bde73df8633c45ec3a1f437cea Signed-off-by: Akhil Batra <akhil.batra@research.iiit.ac.in>
Diffstat (limited to 'qtip/api/handler')
-rw-r--r--qtip/api/handler/job_handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtip/api/handler/job_handler.py b/qtip/api/handler/job_handler.py
index f230e596..eade9df7 100644
--- a/qtip/api/handler/job_handler.py
+++ b/qtip/api/handler/job_handler.py
@@ -1,8 +1,8 @@
import threading
from copy import copy
-from flask.ext.restful import Resource, reqparse
-from flask.ext.restful_swagger import swagger
+from flask_restful import Resource, reqparse
+from flask_restful_swagger import swagger
from werkzeug.exceptions import abort
from qtip.api.handler import db, result_handler