single static list of libs

This commit is contained in:
Jay Lee
2023-04-12 14:56:31 +00:00
parent 1cfa14d8d2
commit d5cf38eaca
3 changed files with 18 additions and 19 deletions

View File

@@ -884,20 +884,11 @@ def doGAMVersion(checkForArgs=True):
doGAMCheckForUpdates(forceCheck)
if extended:
print(ssl.OPENSSL_VERSION)
libs = ['cryptography',
'filelock',
'google-auth-httplib2',
'google-auth-oauthlib',
'google-auth',
'httplib2',
'passlib',
'python-dateutil',
'yubikey-manager',
]
for lib in libs:
for lib in GAM_VER_LIBS:
try:
print(f'{lib} {lib_version(lib)}')
except:
except Exception as e:
print(e)
pass
tls_ver, cipher_name, used_ip = _getServerTLSUsed(testLocation)
print(