From 8bcbc2935617e6843c6e87f3d6e52ee1bfc2890d Mon Sep 17 00:00:00 2001 From: Heiko Thiery Date: Mon, 28 Oct 2024 08:53:12 +0100 Subject: [PATCH] remove legacy "from __future__ import absolute_import" Signed-off-by: Heiko Thiery --- pyipmi/msgs/bmc.py | 3 --- pyipmi/msgs/chassis.py | 1 - pyipmi/msgs/dcmi.py | 2 -- pyipmi/msgs/event.py | 1 - pyipmi/msgs/fru.py | 1 - pyipmi/msgs/hpm.py | 1 - pyipmi/msgs/lan.py | 1 - pyipmi/msgs/message.py | 3 --- pyipmi/msgs/picmg.py | 2 -- pyipmi/msgs/registry.py | 1 - pyipmi/msgs/sdr.py | 1 - pyipmi/msgs/sel.py | 1 - pyipmi/msgs/sensor.py | 1 - pyipmi/msgs/vita.py | 2 -- 14 files changed, 21 deletions(-) diff --git a/pyipmi/msgs/bmc.py b/pyipmi/msgs/bmc.py index 9ae01a15..a85e8d2d 100644 --- a/pyipmi/msgs/bmc.py +++ b/pyipmi/msgs/bmc.py @@ -14,9 +14,6 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -from __future__ import absolute_import - - from . import constants from . import register_message_class from . import Message diff --git a/pyipmi/msgs/chassis.py b/pyipmi/msgs/chassis.py index f6893b3d..bf4e4150 100644 --- a/pyipmi/msgs/chassis.py +++ b/pyipmi/msgs/chassis.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # Copyright (c) 2014 Kontron Europe GmbH # # This library is free software; you can redistribute it and/or diff --git a/pyipmi/msgs/dcmi.py b/pyipmi/msgs/dcmi.py index b0d61910..5895bead 100644 --- a/pyipmi/msgs/dcmi.py +++ b/pyipmi/msgs/dcmi.py @@ -14,8 +14,6 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -from __future__ import absolute_import - from . import constants from . import register_message_class diff --git a/pyipmi/msgs/event.py b/pyipmi/msgs/event.py index 8866cac5..8d99e940 100644 --- a/pyipmi/msgs/event.py +++ b/pyipmi/msgs/event.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # Copyright (c) 2014 Kontron Europe GmbH # # This library is free software; you can redistribute it and/or diff --git a/pyipmi/msgs/fru.py b/pyipmi/msgs/fru.py index 53d4ea0f..2d0f0e12 100644 --- a/pyipmi/msgs/fru.py +++ b/pyipmi/msgs/fru.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # Copyright (c) 2014 Kontron Europe GmbH # # This library is free software; you can redistribute it and/or diff --git a/pyipmi/msgs/hpm.py b/pyipmi/msgs/hpm.py index 4decbb6f..5f81de51 100644 --- a/pyipmi/msgs/hpm.py +++ b/pyipmi/msgs/hpm.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # Copyright (c) 2014 Kontron Europe GmbH # # This library is free software; you can redistribute it and/or diff --git a/pyipmi/msgs/lan.py b/pyipmi/msgs/lan.py index 4002044f..8aac046a 100644 --- a/pyipmi/msgs/lan.py +++ b/pyipmi/msgs/lan.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # Copyright (c) 2014 Kontron Europe GmbH # # This library is free software; you can redistribute it and/or diff --git a/pyipmi/msgs/message.py b/pyipmi/msgs/message.py index 225ccdb9..1aeb680b 100644 --- a/pyipmi/msgs/message.py +++ b/pyipmi/msgs/message.py @@ -14,9 +14,6 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -from __future__ import absolute_import - from array import array from . import constants diff --git a/pyipmi/msgs/picmg.py b/pyipmi/msgs/picmg.py index 5fc8076c..91e24d88 100644 --- a/pyipmi/msgs/picmg.py +++ b/pyipmi/msgs/picmg.py @@ -14,8 +14,6 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -from __future__ import absolute_import - from . import constants from . import register_message_class from . import Message diff --git a/pyipmi/msgs/registry.py b/pyipmi/msgs/registry.py index c38e040f..c7f3c869 100644 --- a/pyipmi/msgs/registry.py +++ b/pyipmi/msgs/registry.py @@ -14,7 +14,6 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - from functools import partial from ..errors import DescriptionError diff --git a/pyipmi/msgs/sdr.py b/pyipmi/msgs/sdr.py index 42ef793c..c912feb2 100644 --- a/pyipmi/msgs/sdr.py +++ b/pyipmi/msgs/sdr.py @@ -13,7 +13,6 @@ # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -from __future__ import absolute_import from . import constants from . import register_message_class diff --git a/pyipmi/msgs/sel.py b/pyipmi/msgs/sel.py index c105eefd..54668c8c 100644 --- a/pyipmi/msgs/sel.py +++ b/pyipmi/msgs/sel.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # Copyright (c) 2014 Kontron Europe GmbH # # This library is free software; you can redistribute it and/or diff --git a/pyipmi/msgs/sensor.py b/pyipmi/msgs/sensor.py index 6c73d1c4..b1a3371f 100644 --- a/pyipmi/msgs/sensor.py +++ b/pyipmi/msgs/sensor.py @@ -1,4 +1,3 @@ -from __future__ import absolute_import # Copyright (c) 2014 Kontron Europe GmbH # # This library is free software; you can redistribute it and/or diff --git a/pyipmi/msgs/vita.py b/pyipmi/msgs/vita.py index 8fa06fb5..fc6b29d6 100644 --- a/pyipmi/msgs/vita.py +++ b/pyipmi/msgs/vita.py @@ -14,8 +14,6 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -from __future__ import absolute_import - from . import constants from . import register_message_class from . import Message