Use time.sleep() instead of eventlet.sleep()

In a patched environment, time.sleep will be eventlet.sleep, so this
does not have any actual impact, but it removes one direct dependency on
eventlet.

Change-Id: Icadb85cbc0d65784b7b1d524da07097e68442bc6
This commit is contained in:
Cyril Roelandt 2024-10-21 20:25:39 +02:00
parent 086bc2058f
commit b92bcb0747

View File

@ -25,10 +25,7 @@ import uuid
from oslo_concurrency import lockutils
from oslo_utils.secretutils import md5
try:
from eventlet import sleep
except ImportError:
from time import sleep
from time import sleep
from glance_store.i18n import _