From 1e3c0e02270bbec006b7d1053ffd45c850dcbfdf Mon Sep 17 00:00:00 2001 From: Dougal Matthews Date: Fri, 1 Aug 2014 12:31:34 +0100 Subject: [PATCH] Remove references to Flask Currently we require Flask, import it and don't use it for anything. This patch simply removes these references. Change-Id: If5b326cc77e392ad7438ae5d0caac0b599e5a580 --- requirements.txt | 1 - tuskar/api/__init__.py | 5 ----- 2 files changed, 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index dd9dd57f..64f11524 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,6 @@ Babel>=1.3 # processing code http://tarballs.openstack.org/tripleo-heat-templates/tripleo-heat-templates-master.tar.gz#egg=tripleo_heat_templates eventlet>=0.13.0 -Flask>=0.10,<1.0 greenlet>=0.3.2 iso8601>=0.1.8 kombu>=2.4.8 diff --git a/tuskar/api/__init__.py b/tuskar/api/__init__.py index 01893970..55b76dce 100644 --- a/tuskar/api/__init__.py +++ b/tuskar/api/__init__.py @@ -13,13 +13,8 @@ # License for the specific language governing permissions and limitations # under the License. -import flask.helpers from oslo.config import cfg -from tuskar.openstack.common import jsonutils - -flask.helpers.json = jsonutils - API_SERVICE_OPTS = [ cfg.StrOpt( 'tuskar_api_bind_ip',