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
8d3d3713
authored
Jul 24, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename send_notification to send_expiration
parent
e59d6102
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
agent.py
+2
-2
vm_renewal
+2
-2
No files found.
agent.py
View file @
8d3d3713
...
...
@@ -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
):
...
...
vm_renewal
View file @
8d3d3713
...
...
@@ -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!"
)
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