Skip to content

Commit

Permalink
update flask dependecy
Browse files Browse the repository at this point in the history
some minor changes to support the new flask version 0.11.1

importing stuff from `flask.ext` was deprecated and we were using it
only for babel

fixes insomnia-lab#297
  • Loading branch information
ael-code committed Jun 27, 2016
1 parent 7d28c16 commit 2fecfa1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def read(fname):
'Flask-Babel',
'flask-script',
'Flask-Authbone >=0.2',
'Flask',
'Flask <= 0.11.1',
'opensearch',
'Fsdb >= 0.3.3, <= 1.2.1',
'click',
Expand Down
2 changes: 1 addition & 1 deletion webant/agherant_standalone.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from flask import Flask, request
from flask_bootstrap import Bootstrap
from flask.ext.babel import Babel
from flask_babel import Babel

import agherant
from webserver_utils import gevent_run
Expand Down
2 changes: 1 addition & 1 deletion webant/webant.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from werkzeug import secure_filename
from flask_bootstrap import Bootstrap
from elasticsearch import exceptions as es_exceptions
from flask.ext.babel import Babel, gettext
from flask_babel import Babel, gettext
from babel.dates import format_timedelta
from datetime import datetime
from logging import getLogger
Expand Down

0 comments on commit 2fecfa1

Please sign in to comment.