summaryrefslogtreecommitdiff
path: root/designate/api/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'designate/api/__init__.py')
-rw-r--r--designate/api/__init__.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/designate/api/__init__.py b/designate/api/__init__.py
index 2b19a7b9..9016ab32 100644
--- a/designate/api/__init__.py
+++ b/designate/api/__init__.py
@@ -13,9 +13,8 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
-import flask
from oslo.config import cfg
-from designate.openstack.common import jsonutils as json
+
cfg.CONF.register_group(cfg.OptGroup(
name='service:api', title="Configuration for API Service"
@@ -37,7 +36,3 @@ cfg.CONF.register_opts([
cfg.BoolOpt('enable-api-v1', default=True),
cfg.BoolOpt('enable-api-v2', default=False),
], group='service:api')
-
-
-# Allows us to serialize datetime's etc
-flask.helpers.json = json