Merge "move imports to top of file for lints"
This commit is contained in:
commit
b806b2c0c2
@ -17,6 +17,10 @@ import functools
|
||||
from automaton import exceptions as automaton_exceptions
|
||||
from automaton import machines
|
||||
|
||||
from ironic.common import exception as excp
|
||||
from ironic.common.i18n import _
|
||||
|
||||
|
||||
"""State machine modelling.
|
||||
|
||||
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):
|
||||
"""Decorator to translate automaton exceptions into ironic exceptions."""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user