BIND 10 trac1341, updated. 151a4b05228e38b2031d095e438b63ae75dc0b76 [trac1341] fix spelling typo in code
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Nov 22 23:54:00 UTC 2011
The branch, trac1341 has been updated
via 151a4b05228e38b2031d095e438b63ae75dc0b76 (commit)
from 3924f73fed9f8158918713b09672175f09a973e4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 151a4b05228e38b2031d095e438b63ae75dc0b76
Author: Jeremy C. Reed <jreed at ISC.org>
Date: Tue Nov 22 17:53:47 2011 -0600
[trac1341] fix spelling typo in code
and in tests
-----------------------------------------------------------------------
Summary of changes:
src/bin/bind10/tests/bind10_test.py.in | 6 +++---
src/lib/python/isc/bind10/component.py | 2 +-
src/lib/python/isc/bind10/special_component.py | 6 +++---
src/lib/python/isc/bind10/tests/component_test.py | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/bind10/tests/bind10_test.py.in b/src/bin/bind10/tests/bind10_test.py.in
index 0aa6778..7924cc0 100644
--- a/src/bin/bind10/tests/bind10_test.py.in
+++ b/src/bin/bind10/tests/bind10_test.py.in
@@ -928,9 +928,9 @@ class TestBossComponents(unittest.TestCase):
(anyway it is not told so). It does not die if it is killed
the first time. It dies only when killed forcefully.
"""
- def kill(self, forcefull=False):
- killed.append(forcefull)
- if forcefull:
+ def kill(self, forceful=False):
+ killed.append(forceful)
+ if forceful:
bob.components = {}
def pid(self):
return 1
diff --git a/src/lib/python/isc/bind10/component.py b/src/lib/python/isc/bind10/component.py
index bc07b32..68dd13f 100644
--- a/src/lib/python/isc/bind10/component.py
+++ b/src/lib/python/isc/bind10/component.py
@@ -283,7 +283,7 @@ class BaseComponent:
"""
pass
- def kill(self, forcefull=False):
+ def kill(self, forceful=False):
"""
Kills the component.
diff --git a/src/lib/python/isc/bind10/special_component.py b/src/lib/python/isc/bind10/special_component.py
index bac51ff..77a5dcb 100644
--- a/src/lib/python/isc/bind10/special_component.py
+++ b/src/lib/python/isc/bind10/special_component.py
@@ -57,8 +57,8 @@ class SockCreator(BaseComponent):
"""
return self.__creator.pid() if self.__creator else None
- def kill(self, forcefull=False):
- # We don't really care about forcefull here
+ def kill(self, forceful=False):
+ # We don't really care about forceful here
if self.__creator:
self.__creator.kill()
@@ -130,7 +130,7 @@ class SetUID(BaseComponent):
posix.setuid(self.uid)
def _stop_internal(self): pass
- def kill(self, forcefull=False): pass
+ def kill(self, forceful=False): pass
def name(self):
return "Set UID"
diff --git a/src/lib/python/isc/bind10/tests/component_test.py b/src/lib/python/isc/bind10/tests/component_test.py
index 15fa470..9faf584 100644
--- a/src/lib/python/isc/bind10/tests/component_test.py
+++ b/src/lib/python/isc/bind10/tests/component_test.py
@@ -592,7 +592,7 @@ class TestComponent(BaseComponent):
def _failed_internal(self):
self.log('failed')
- def kill(self, forcefull=False):
+ def kill(self, forceful=False):
self.log('killed')
class FailComponent(BaseComponent):
More information about the bind10-changes
mailing list