From 78f487c75b7e92a4f0c6181c91804f0ec3d8fe48 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 18 Nov 2020 14:36:00 -0600 Subject: ncserver: Spelling fixes --- ncserver/module/nms_ifupdownng.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ncserver/module/nms_ifupdownng.py b/ncserver/module/nms_ifupdownng.py index a05d7cc..9d1d19b 100644 --- a/ncserver/module/nms_ifupdownng.py +++ b/ncserver/module/nms_ifupdownng.py @@ -160,7 +160,7 @@ def get_param(iface: str, parameter: str): if iface not in _CONFIG.keys(): LOGGER.warning( - _("requested parameter %s for non-existant interface %s"), + _("requested parameter %s for non-existent interface %s"), parameter, iface ) return None @@ -175,7 +175,7 @@ def set_param(iface: str, parameter: str, value): if iface not in _CONFIG.keys(): LOGGER.warning( - _("attempted to set parameter %s for non-existant interface %s"), + _("attempted to set parameter %s for non-existent interface %s"), parameter, iface ) return @@ -190,7 +190,7 @@ def unset_param(iface: str, parameter: str): if iface not in _CONFIG.keys(): LOGGER.warning( - _("attempted to unset parameter %s for non-existant interface %s"), + _("attempted to unset parameter %s for non-existent interface %s"), parameter, iface ) return @@ -204,7 +204,7 @@ def list_addresses(iface: str) -> list: _load_config() if iface not in _CONFIG.keys(): - LOGGER.warning(_("requested addresses for non-existant interface %s"), + LOGGER.warning(_("requested addresses for non-existent interface %s"), iface) return list() @@ -231,7 +231,7 @@ def add_address(iface: str, _type, addr: str, prefix): if iface not in _CONFIG.keys(): LOGGER.warning( - _("attempted to add address to non-existant interface %s"), iface + _("attempted to add address to non-existent interface %s"), iface ) return @@ -249,7 +249,7 @@ def remove_address(iface: str, addr: str): if iface not in _CONFIG.keys(): LOGGER.warning( - _("attempted to remove address from non-existant interface %s"), + _("attempted to remove address from non-existent interface %s"), iface ) return -- cgit v1.2.3-70-g09d2