Merge pull request #870 from DanLipsitt/feature/flask-0.10

flask 0.10 fixes
This commit is contained in:
Gina Häußge 2015-05-04 11:36:14 +02:00
commit 72cadba854
6 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@ import versioneer
# Requirements for our application
INSTALL_REQUIRES = [
"flask==0.9",
"flask>=0.9,<0.11",
"werkzeug==0.8.3",
"tornado==4.0.1",
"sockjs-tornado>=1.0.0",

View file

@ -6,7 +6,7 @@ __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agp
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
from flask import request, jsonify, make_response, Response
from flask.exceptions import BadRequest
from werkzeug.exceptions import BadRequest
import re
from octoprint.settings import settings, valid_boolean_trues

View file

@ -9,7 +9,7 @@ __copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms
import copy
from flask import jsonify, make_response, request, url_for
from flask.exceptions import BadRequest
from werkzeug.exceptions import BadRequest
from octoprint.server.api import api, NO_CONTENT
from octoprint.server.util.flask import restricted_access

View file

@ -8,7 +8,7 @@ __copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms
import logging
from flask import request, jsonify, make_response
from flask.exceptions import BadRequest
from werkzeug.exceptions import BadRequest
from octoprint.events import eventManager, Events
from octoprint.settings import settings

View file

@ -6,7 +6,7 @@ __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agp
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
from flask import request, jsonify, make_response, url_for
from flask.exceptions import BadRequest
from werkzeug.exceptions import BadRequest
from octoprint.server import slicingManager
from octoprint.server.util.flask import restricted_access

View file

@ -6,7 +6,7 @@ __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agp
__copyright__ = "Copyright (C) 2014 The OctoPrint Project - Released under terms of the AGPLv3 License"
from flask import request, jsonify, abort, make_response
from flask.exceptions import BadRequest
from werkzeug.exceptions import BadRequest
from flask.ext.login import current_user
import octoprint.users as users