From 08355fdbc919d05859ce4c2e4ed0309683d83f8a Mon Sep 17 00:00:00 2001 From: Radomir Dopieralski Date: Fri, 22 Aug 2014 11:02:55 +0200 Subject: [PATCH] Get rid of cyclic imports Change-Id: Ia0ea406668eadbd8db1c660fcd6c231af21651c7 --- tuskar_ui/api/__init__.py | 24 ---------------------- tuskar_ui/infrastructure/overview/forms.py | 2 ++ 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/tuskar_ui/api/__init__.py b/tuskar_ui/api/__init__.py index a63c73614..e69de29bb 100644 --- a/tuskar_ui/api/__init__.py +++ b/tuskar_ui/api/__init__.py @@ -1,24 +0,0 @@ -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -from tuskar_ui.api import flavor -from tuskar_ui.api import heat -from tuskar_ui.api import node -from tuskar_ui.api import tuskar - - -__all__ = [ - "flavor", - "heat", - "node", - "tuskar", -] diff --git a/tuskar_ui/infrastructure/overview/forms.py b/tuskar_ui/infrastructure/overview/forms.py index 2481afed3..218ef50d5 100644 --- a/tuskar_ui/infrastructure/overview/forms.py +++ b/tuskar_ui/infrastructure/overview/forms.py @@ -19,6 +19,8 @@ import horizon.forms import horizon.messages from tuskar_ui import api +import tuskar_ui.api.heat +import tuskar_ui.api.tuskar import tuskar_ui.forms