Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
agent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
7
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c56ff392
authored
Jul 24, 2014
by
Csók Tamás
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes inspired by merge request advices
parent
c394e1e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
notify.py
+1
-1
vm_renewal
+2
-2
No files found.
notify.py
View file @
c56ff392
...
...
@@ -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
):
...
...
vm_renewal
View file @
c56ff392
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment