Advertisement
Guest User

Untitled

a guest
Mar 14th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1.         elif(doc["disable_date"] - int(datetime.timedelta(hours=48)) > int(datetime.timedelta(hours=48))):
  2.             enabled = cl.rollingupdate_enable_server(host["hostname"])
  3.             if(enabled):
  4.                 logger.info("%s was released since it couldn't be updated in 48 hours", host["hostname"])
  5.             else:
  6.                 logger.warn("%s was not found", host["hostname"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement