Merge "Drop wrong stacklevel"

This commit is contained in:
Zuul 2024-02-22 12:29:38 +00:00 committed by Gerrit Code Review
commit 4d2d89e041
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ from oslo_log import log as logging
if os.name == 'nt':
warnings.warn('Support for Windows OS is deprecated.',
category=DeprecationWarning, stacklevel=3)
category=DeprecationWarning)
from os_vif.internal.ip.windows.impl_netifaces import \
Netifaces as ip_lib_class
else: