Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
008a3bf7
Commit
008a3bf7
authored
Feb 23, 2011
by
Michal 'vorner' Vaner
Browse files
[trac565] Rename sendo to recipient
parent
cce105f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/bind10/bind10.py.in
View file @
008a3bf7
...
...
@@ -612,10 +612,10 @@ class BoB:
self.cc_session.group_sendmsg(cmd, "Zonemgr", "Zonemgr")
self.cc_session.group_sendmsg(cmd, "Stats", "Stats")
def stop_process(self, process,
sendto
):
def stop_process(self, process,
recipient
):
"""
Stop the given process, friendly-like. The process is the name it has
(in logs, etc), the
sendto
is the address on msgq.
(in logs, etc), the
recipient
is the address on msgq.
"""
if self.verbose:
sys.stdout.write("[bind10] Asking %s to terminate\n" % process)
...
...
@@ -623,8 +623,8 @@ class BoB:
# help. We can even store it in the dict, it is used only as a set
self.expected_shutdowns[process] = 1
# Ask the process to die willingly
self.cc_session.group_sendmsg({'command': ['shutdown']},
sendto
,
sendto
)
self.cc_session.group_sendmsg({'command': ['shutdown']},
recipient
,
recipient
)
# Series of stop_process wrappers
def stop_resolver(self):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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