summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-11-18 14:36:00 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-11-18 14:36:00 -0600
commit78f487c75b7e92a4f0c6181c91804f0ec3d8fe48 (patch)
tree8c52c53c55c5b0df4542d7ab1eb67724f447f684
parentd1ef363d806a2d67ab0ed0c99ee20e8028c11f75 (diff)
downloadnetconfapk-78f487c75b7e92a4f0c6181c91804f0ec3d8fe48.tar.gz
netconfapk-78f487c75b7e92a4f0c6181c91804f0ec3d8fe48.tar.bz2
netconfapk-78f487c75b7e92a4f0c6181c91804f0ec3d8fe48.tar.xz
netconfapk-78f487c75b7e92a4f0c6181c91804f0ec3d8fe48.zip
ncserver: Spelling fixes
-rw-r--r--ncserver/module/nms_ifupdownng.py12
1 files 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