Drop remaining logic for websockify < 0.9.0

The minimum version of websockify was already bumped to 0.9.0 by [1].

[1] 082dc59b89

Change-Id: I836301599e8be67ea0a6b51e6f78bbbea71c0433
This commit is contained in:
Takashi Kajinami
2024-11-09 10:47:17 +09:00
parent 27aa5e1cee
commit 0254e5da7d

View File

@@ -27,8 +27,8 @@ from urllib import parse as urlparse
from oslo_log import log as logging
from oslo_utils import encodeutils
from oslo_utils import importutils
import websockify
from websockify import websockifyserver
from nova.compute import rpcapi as compute_rpcapi
import nova.conf
@@ -40,9 +40,6 @@ from nova import objects
from oslo_utils import timeutils
import threading
# Location of WebSockifyServer class in websockify v0.9.0
websockifyserver = importutils.try_import('websockify.websockifyserver')
LOG = logging.getLogger(__name__)
CONF = nova.conf.CONF