Remove unused LOG variable with logging import
Change-Id: I24c4301f15aefadc2bdedd2549caa385deb8d76e
This commit is contained in:
parent
7034a27e17
commit
1e75301def
|
@ -13,7 +13,6 @@
|
|||
|
||||
from glanceclient import client as gc
|
||||
from glanceclient import exc
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import uuidutils
|
||||
|
||||
from heat.common import exception
|
||||
|
@ -21,8 +20,6 @@ from heat.common.i18n import _
|
|||
from heat.engine.clients import client_plugin
|
||||
from heat.engine import constraints
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class GlanceClientPlugin(client_plugin.ClientPlugin):
|
||||
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from oslo_utils import uuidutils
|
||||
from saharaclient.api import base as sahara_base
|
||||
from saharaclient import client as sahara_client
|
||||
|
@ -25,8 +23,6 @@ from heat.common.i18n import _
|
|||
from heat.engine.clients import client_plugin
|
||||
from heat.engine import constraints
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SaharaClientPlugin(client_plugin.ClientPlugin):
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
import six
|
||||
|
||||
from heat.common import exception
|
||||
|
@ -22,8 +21,6 @@ from heat.engine import properties
|
|||
from heat.engine.resources.openstack.heat import scaling_policy as heat_sp
|
||||
from heat.scaling import scalingutil as sc_util
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AWSScalingPolicy(heat_sp.AutoScalingPolicy):
|
||||
PROPERTIES = (
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
from heat.common.i18n import _
|
||||
from heat.engine import attributes
|
||||
|
@ -21,8 +20,6 @@ from heat.engine import resource
|
|||
from heat.engine import support
|
||||
from heat.rpc import api as rpc_api
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SoftwareConfig(resource.Resource):
|
||||
"""A resource for describing and storing software configuration.
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
from heat.common.i18n import _
|
||||
from heat.engine import attributes
|
||||
|
@ -19,8 +18,6 @@ from heat.engine import properties
|
|||
from heat.engine.resources.openstack.neutron import neutron
|
||||
from heat.engine import support
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class QoSPolicy(neutron.NeutronResource):
|
||||
"""A resource for Neutron QoS Policy.
|
||||
|
|
|
@ -17,7 +17,6 @@ import copy
|
|||
import functools
|
||||
import hashlib
|
||||
|
||||
from oslo_log import log as logging
|
||||
import six
|
||||
from stevedore import extension
|
||||
|
||||
|
@ -26,8 +25,6 @@ from heat.common.i18n import _
|
|||
from heat.engine import environment
|
||||
from heat.objects import raw_template as template_object
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
__all__ = ['Template']
|
||||
|
||||
|
||||
|
|
|
@ -16,9 +16,6 @@ from heat.common.i18n import _
|
|||
from heat.engine import attributes
|
||||
from heat.engine import properties
|
||||
from heat.engine import resource
|
||||
from oslo_log import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestResource(resource.Resource):
|
||||
|
|
|
@ -12,13 +12,10 @@
|
|||
# under the License.
|
||||
|
||||
import functools
|
||||
from oslo_log import log as logging
|
||||
|
||||
from heat.tests.convergence.framework import reality
|
||||
from heat.tests.convergence.framework import scenario_template
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def verify(test, reality, tmpl):
|
||||
for name in tmpl.resources:
|
||||
|
|
Loading…
Reference in New Issue