Commit 8d3d3713 by Őry Máté

rename send_notification to send_expiration

parent e59d6102
...@@ -284,9 +284,9 @@ class Context(object): ...@@ -284,9 +284,9 @@ class Context(object):
return None return None
@staticmethod @staticmethod
def send_notification(msg): def send_expiration(url):
import notify import notify
notify.notify(msg) notify.notify(url)
class SerialLineReceiver(SerialLineReceiverBase): class SerialLineReceiver(SerialLineReceiverBase):
......
...@@ -6,4 +6,5 @@ if __name__ == '__main__': ...@@ -6,4 +6,5 @@ if __name__ == '__main__':
try: try:
notify.accept() notify.accept()
except: except:
print "There was an unknown error while trying to renew this vm, please do it manually!" print ("There was an unknown error while trying to "
\ No newline at end of file "renew this vm, please do it manually!")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment