Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elif(doc["disable_date"] - int(datetime.timedelta(hours=48)) > int(datetime.timedelta(hours=48))):
- enabled = cl.rollingupdate_enable_server(host["hostname"])
- if(enabled):
- logger.info("%s was released since it couldn't be updated in 48 hours", host["hostname"])
- else:
- logger.warn("%s was not found", host["hostname"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement