1
0
mirror of https://github.com/Napsty/check_esxi_hardware.git synced 2025-04-04 07:03:39 +02:00

Update to newer pywbem exception call

This commit is contained in:
Napsty 2025-02-21 11:03:20 +01:00
parent 820a8ebaa5
commit 415d644172

View File

@ -298,7 +298,7 @@
# Remove python2 compatibility # Remove python2 compatibility
# Remove pywbem 0.7.0 compatibility # Remove pywbem 0.7.0 compatibility
#@--------------------------------------------------- #@---------------------------------------------------
#@ Date : 20250214 #@ Date : 20250221
#@ Author : Claudio Kuenzler #@ Author : Claudio Kuenzler
#@ Reason : Update to newer pywbem exception call, catch HTTPError #@ Reason : Update to newer pywbem exception call, catch HTTPError
#@ Attn : Requires 'packaging' Python module from now on! #@ Attn : Requires 'packaging' Python module from now on!
@ -312,7 +312,7 @@ import json
from optparse import OptionParser,OptionGroup from optparse import OptionParser,OptionGroup
from packaging.version import Version from packaging.version import Version
version = '20250214' version = '20250221'
NS = 'root/cimv2' NS = 'root/cimv2'
hosturl = '' hosturl = ''