misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
047f0d5d63
commit
4aa29f1b79
@ -176,7 +176,8 @@ def on_internet_available(agent):
|
|||||||
for repo, local_version, is_native, svc_name in to_check:
|
for repo, local_version, is_native, svc_name in to_check:
|
||||||
info = check(local_version, repo, is_native)
|
info = check(local_version, repo, is_native)
|
||||||
if info['url'] is not None:
|
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
|
info['service'] = svc_name
|
||||||
to_install.append(info)
|
to_install.append(info)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user