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

This commit is contained in:
Simone Margaritelli 2019-10-20 18:08:14 +02:00
parent ca2becd9ce
commit 40c01db1d1
No known key found for this signature in database
GPG Key ID: 82E42E7F3B34C97E

View File

@ -82,7 +82,7 @@ def on_internet_available(agent):
if info['url'] is not None:
to_install.append(info)
if len(to_install) > 0 & & OPTIONS['install']:
if len(to_install) > 0 and OPTIONS['install']:
logging.info("[update] TODO: install %d updates" % len(to_install))
logging.info("[update] done")