summaryrefslogtreecommitdiff
path: root/src/conf_mode/system_console.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-06-17 14:21:35 +0300
committerGitHub <noreply@github.com>2026-06-17 14:21:35 +0300
commit7a1fa970b13c0006fa59ad9a46023b3e8037de6f (patch)
tree1e3b19c7162212f552b77297b03875d92daf33dd /src/conf_mode/system_console.py
parentc207f4a1ce9b13cd7e0664d35d805e633ebc69fb (diff)
parent040a4c0565081d0b6df2bf789737ed0e7bde2642 (diff)
downloadvyos-1x-7a1fa970b13c0006fa59ad9a46023b3e8037de6f.tar.gz
vyos-1x-7a1fa970b13c0006fa59ad9a46023b3e8037de6f.zip
Merge pull request #5277 from c-po/can-not-cannot
T8923: normalize "can not" to "cannot" and other typo fixes
Diffstat (limited to 'src/conf_mode/system_console.py')
-rwxr-xr-xsrc/conf_mode/system_console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/system_console.py b/src/conf_mode/system_console.py
index 51c95fcac..22a4a371e 100755
--- a/src/conf_mode/system_console.py
+++ b/src/conf_mode/system_console.py
@@ -66,7 +66,7 @@ def verify(console):
# to its dynamic device file - and create a new dict entry for it.
by_bus_device = f'{by_bus_dir}/{device}'
# If the device name still starts with usbXXX no matching tty was found
- # and it can not be used as a serial interface
+ # and it cannot be used as a serial interface
if not os.path.isdir(by_bus_dir) or not os.path.exists(by_bus_device):
raise ConfigError(f'Device "{device}" does not support being used as tty')
if not is_tty(device, warning=True):