move imports to top of file for lints
This should be with the other imports. Change-Id: Ic11de949aeed60e7d8c4445ee2e80d324109c151 Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
@@ -17,6 +17,10 @@ import functools
|
|||||||
from automaton import exceptions as automaton_exceptions
|
from automaton import exceptions as automaton_exceptions
|
||||||
from automaton import machines
|
from automaton import machines
|
||||||
|
|
||||||
|
from ironic.common import exception as excp
|
||||||
|
from ironic.common.i18n import _
|
||||||
|
|
||||||
|
|
||||||
"""State machine modelling.
|
"""State machine modelling.
|
||||||
|
|
||||||
This is being used in the implementation of:
|
This is being used in the implementation of:
|
||||||
@@ -25,10 +29,6 @@ http://specs.openstack.org/openstack/ironic-specs/specs/kilo/new-ironic-state-ma
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
from ironic.common import exception as excp
|
|
||||||
from ironic.common.i18n import _
|
|
||||||
|
|
||||||
|
|
||||||
def _translate_excp(func):
|
def _translate_excp(func):
|
||||||
"""Decorator to translate automaton exceptions into ironic exceptions."""
|
"""Decorator to translate automaton exceptions into ironic exceptions."""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user