4 Commits
Author SHA1 Message Date
Petr Klíma ae33f4cc40 bump to version 0.2.3 2020-10-28 13:09:32 +01:00
Petr Klíma 2d471af056 Merge pull request #19 from napalm-automation-community/0.2.2---bugfix---py23_compat
0.2.2 bugfix correctly remove py23 compat
2020-10-28 13:01:06 +01:00
Petr Klíma 34ac2e5d4c fully remove py23_compat 2020-10-28 12:56:34 +01:00
Petr Klíma 1ff7c2a090 get back from py23_compat
removing py2 support needs more work and testing
2020-10-28 12:40:36 +01:00
2 changed files with 7 additions and 7 deletions

No files matched your search

+6 -6
View File
@@ -244,15 +244,15 @@ class S350Driver(NetworkDriver):
if not line:
continue
interface = line.split()[0]
interfaces.append(py23_compat.text_type(interface))
interfaces.append(str(interface))
return {
'fqdn': py23_compat.text_type(fqdn),
'hostname': py23_compat.text_type(hostname),
'fqdn':str(fqdn),
'hostname': str(hostname),
'interface_list': interfaces,
'model': py23_compat.text_type(model),
'os_version': py23_compat.text_type(os_version),
'serial_number': py23_compat.text_type(serial_number),
'model': str(model),
'os_version': str(os_version),
'serial_number': str(serial_number),
'uptime': uptime,
'vendor': u'Cisco',
}
+1 -1
View File
@@ -12,7 +12,7 @@ with open("README.md", "r") as fs:
setup(
name="napalm-s350",
version="0.2.2",
version="0.2.3",
packages=find_packages(exclude=("test*",)),
author="Jasper Lievisse Adriaanse, Petr Klíma",
author_email="j@jasper.la, qaxi@seznam.cz",