mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 15:35:17 +00:00
[2244] a minor editorial fix to the previous comment update
This commit is contained in:
@@ -573,7 +573,7 @@ class Configurator:
|
|||||||
|
|
||||||
def has_component(self, component):
|
def has_component(self, component):
|
||||||
'''Return if a specified component is configured.'''
|
'''Return if a specified component is configured.'''
|
||||||
# Values of self._components are tuples of (name, component).
|
# Values of self._components are tuples of (config, component).
|
||||||
# Extract the components of the tuples and see if the given one
|
# Extract the components of the tuples and see if the given one
|
||||||
# is included.
|
# is included.
|
||||||
return component in map(lambda x: x[1], self._components.values())
|
return component in map(lambda x: x[1], self._components.values())
|
||||||
|
Reference in New Issue
Block a user