Commit 75753367 authored by Aleksey Shirokih's avatar Aleksey Shirokih
Browse files

fix Cisco.get_interfaces. better

--HG--
branch : feature/microservices
parent 13c29b42
......@@ -57,7 +57,7 @@ class Profile(BaseProfile):
self.convert_interface_name_cisco(l.strip()),
int(r.strip())
)
if isinstance(interface, str):
if isinstance(interface, basestring):
il = interface.lower()
else:
il = interface.name.lower()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment