fix to MibBuilder.version format

pull/143/head
Ilya Etingof 2018-02-25 22:54:16 +01:00
parent 7f7f202908
commit 4d57bdbbfe
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ class MibBuilder(object):
loadTexts = False
# MIB modules can use this to select the features they can use
version = pysnmp_version
version = tuple([int(x) for x in pysnmp_version.split('.')])
def __init__(self):
self.lastBuildId = self._autoName = 0