misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
40c01db1d1
commit
fbd12bf87b
@ -55,6 +55,8 @@ def check(version, repo, native=True):
|
||||
def on_internet_available(agent):
|
||||
global STATUS
|
||||
|
||||
logging.debug("[update] internet connectivity is available (ready %s)" % READY)
|
||||
|
||||
if READY:
|
||||
if STATUS.newer_then_hours(OPTIONS['interval']):
|
||||
logging.debug("[update] last check happened less than %d hours ago" % OPTIONS['interval'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user