diff options
author | Ilya Etingof <etingof@gmail.com> | 2019-02-21 08:33:47 +0100 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2019-02-21 08:33:47 +0100 |
commit | 8f7fb2fb9c8c4ef20c7c5f4732502bdeaad5152e (patch) | |
tree | 8a89e2c10868d2eba4ec9bf6989b633c081289ac /pysnmp/hlapi/v3arch/asyncore | |
parent | 3b7b5c31c46d38918512993b8c58aa5580f6f32f (diff) | |
download | pysnmp-git-8f7fb2fb9c8c4ef20c7c5f4732502bdeaad5152e.tar.gz |
Fix broken `hlapi.isEndOfMib` callable
Diffstat (limited to 'pysnmp/hlapi/v3arch/asyncore')
-rw-r--r-- | pysnmp/hlapi/v3arch/asyncore/cmdgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/hlapi/v3arch/asyncore/cmdgen.py b/pysnmp/hlapi/v3arch/asyncore/cmdgen.py index ad31be35..6446bce5 100644 --- a/pysnmp/hlapi/v3arch/asyncore/cmdgen.py +++ b/pysnmp/hlapi/v3arch/asyncore/cmdgen.py @@ -18,7 +18,7 @@ __all__ = ['getCmd', 'nextCmd', 'setCmd', 'bulkCmd', 'isEndOfMib'] VB_PROCESSOR = CommandGeneratorVarBinds() LCD = CommandGeneratorLcdConfigurator() -isEndOfMib = lambda varBinds: not v2c.apiPDU.getNextVarBinds(varBinds) +isEndOfMib = lambda varBinds: not v2c.apiPDU.getNextVarBinds(varBinds)[1] def getCmd(snmpEngine, authData, transportTarget, contextData, |