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:
Doug Goldstein 2024-12-06 09:11:20 -06:00
parent f5ffda75f6
commit d4d4c099c1
No known key found for this signature in database

View File

@ -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."""