Skip to content

Commit

Permalink
Update lint
Browse files Browse the repository at this point in the history
  • Loading branch information
itdependsnetworks committed Feb 11, 2022
1 parent 37d2431 commit f38e9cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions napalm_panos/panos.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,10 +531,8 @@ def get_interfaces(self): # pylint: disable=too-many-locals
interface_dict = {}
interface_descr = {}
interface_list = self._extract_interface_list()



config = xml.etree.ElementTree.fromstring(self.get_config()["running"])
config = xml.etree.ElementTree.fromstring(self.get_config()["running"]) # nosec
for eth_int in config.findall(".//ethernet/entry"):
name = eth_int.attrib["name"]
description = eth_int.findtext(".//comment") or ""
Expand Down

0 comments on commit f38e9cd

Please sign in to comment.