Commit 8d3d3713 by Őry Máté

rename send_notification to send_expiration

parent e59d6102
......@@ -284,9 +284,9 @@ class Context(object):
return None
@staticmethod
def send_notification(msg):
def send_expiration(url):
import notify
notify.notify(msg)
notify.notify(url)
class SerialLineReceiver(SerialLineReceiverBase):
......
......@@ -6,4 +6,5 @@ if __name__ == '__main__':
try:
notify.accept()
except:
print "There was an unknown error while trying to renew this vm, please do it manually!"
\ No newline at end of file
print ("There was an unknown error while trying to "
"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