misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli 2019-10-25 19:15:55 +02:00
parent 047f0d5d63
commit 4aa29f1b79
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

View File

@ -176,7 +176,8 @@ def on_internet_available(agent):
for repo, local_version, is_native, svc_name in to_check:
info = check(local_version, repo, is_native)
if info['url'] is not None:
logging.warning("update for %s available: %s" % (repo, info['url']))
logging.warning(
"update for %s available (local version is '%s'): %s" % (repo, info['current'], info['url']))
info['service'] = svc_name
to_install.append(info)