From d4d4c099c1f9021ae4298da7dbbbac27fb7e064f Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Fri, 6 Dec 2024 09:11:20 -0600 Subject: [PATCH] move imports to top of file for lints This should be with the other imports. Change-Id: Ic11de949aeed60e7d8c4445ee2e80d324109c151 Signed-off-by: Doug Goldstein --- ironic/common/fsm.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ironic/common/fsm.py b/ironic/common/fsm.py index 7dcc30ab86..3a3fb9a21f 100644 --- a/ironic/common/fsm.py +++ b/ironic/common/fsm.py @@ -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."""