diff --git a/napalm_mos/mos.py b/napalm_mos/mos.py index a229b54..b13b491 100644 --- a/napalm_mos/mos.py +++ b/napalm_mos/mos.py @@ -444,7 +444,11 @@ def get_environment(self): def _transform_lldp_capab(self, capabilities): return sorted( - [LLDP_CAPAB_TRANFORM_TABLE[c.lower()] for c in capabilities.split(", ") if c] + [ + LLDP_CAPAB_TRANFORM_TABLE[c.lower()] + for c in capabilities.split(", ") + if c + ] ) def get_lldp_neighbors_detail(self, interface=""):