fixed cl-update-checker

master 3.7.1
idziubenko 3 years ago
parent 00c2fbaeb5
commit d361518592

@ -82,12 +82,14 @@ def get_certifactions_for_host(host, use_dbus=False):
except KeyboardInterrupt:
log.debug(_("Manually interrupted"))
return []
except Exception as e:
log.debug(e)
else:
server_host_name = get_dbus_hostname() or "localhost"
try:
import glob
all_cert_list = glob.glob(os.path.join(path_to_cert, '*.crt'))
all_cert_list = glob.glob(path.join(path_to_cert, '*.crt'))
fit_cert_list = []
for client_cert_path in all_cert_list:
client_cert = client_cert_path.replace(path_to_cert, '')
@ -106,7 +108,7 @@ def get_certifactions_for_host(host, use_dbus=False):
except KeyboardInterrupt:
log.debug(_("Manually interrupted"))
except Exception as e:
log.debug(str(e))
log.debug(e)
return []

Loading…
Cancel
Save