Commit c56ff392 by Csók Tamás

Changes inspired by merge request advices

parent c394e1e1
......@@ -64,7 +64,7 @@ def accept():
logger.error("Renewal failed please try it manually at %s" % url)
# POST request was sent and received successfully
if done:
wall("Successfull renewal of this vm!")
print "Successfull renewal of this vm!"
os.remove("%s/%s" % (get_temp_dir(), file_name))
def notify(url):
......
......@@ -6,4 +6,4 @@ if __name__ == '__main__':
try:
notify.accept()
except:
notify.wall("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!"
\ No newline at end of file
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