From 4f54021ed06efba035089055ecd1654fbd5e0860 Mon Sep 17 00:00:00 2001 From: Artem Goncharov Date: Tue, 28 Dec 2021 15:41:12 +0100 Subject: [PATCH] Get rid of normalization in network CL Stop using normalization for the network cloud layer methods. Change-Id: I9fe3e991a77d0ab223ca4a18b9ce4314f87b887d --- openstack/cloud/_network.py | 3 +-- openstack/cloud/_network_common.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/openstack/cloud/_network.py b/openstack/cloud/_network.py index 500b6e810..0cc469b14 100644 --- a/openstack/cloud/_network.py +++ b/openstack/cloud/_network.py @@ -17,13 +17,12 @@ import threading import time import types # noqa -from openstack.cloud import _normalize from openstack.cloud import _utils from openstack.cloud import exc from openstack import exceptions -class NetworkCloudMixin(_normalize.Normalizer): +class NetworkCloudMixin: def __init__(self): self._ports = None diff --git a/openstack/cloud/_network_common.py b/openstack/cloud/_network_common.py index ceba41021..0d0b3ca9f 100644 --- a/openstack/cloud/_network_common.py +++ b/openstack/cloud/_network_common.py @@ -16,11 +16,10 @@ import threading import types # noqa -from openstack.cloud import _normalize from openstack.cloud import exc -class NetworkCommonCloudMixin(_normalize.Normalizer): +class NetworkCommonCloudMixin: """Shared networking functions used by FloatingIP, Network, Compute classes """