Skip to content

Commit

Permalink
Blacken
Browse files Browse the repository at this point in the history
  • Loading branch information
bewing committed Jul 17, 2019
1 parent d6c19a3 commit cdb54dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion napalm_mos/mos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=""):
Expand Down

0 comments on commit cdb54dd

Please sign in to comment.