diff options
Diffstat (limited to 'pysnmp/hlapi/v3arch')
-rw-r--r-- | pysnmp/hlapi/v3arch/asyncore/sync/cmdgen.py | 16 | ||||
-rw-r--r-- | pysnmp/hlapi/v3arch/asyncore/sync/compat/cmdgen.py | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/pysnmp/hlapi/v3arch/asyncore/sync/cmdgen.py b/pysnmp/hlapi/v3arch/asyncore/sync/cmdgen.py index a2c0efc2..d8bb8e34 100644 --- a/pysnmp/hlapi/v3arch/asyncore/sync/cmdgen.py +++ b/pysnmp/hlapi/v3arch/asyncore/sync/cmdgen.py @@ -107,8 +107,8 @@ def getCmd(snmpEngine, authData, transportTarget, contextData, if varBinds: cmdgen.getCmd(snmpEngine, authData, transportTarget, contextData, *varBinds, - **dict(cbFun=cbFun, cbCtx=cbCtx, - lookupMib=options.get('lookupMib', True))) + cbFun=cbFun, cbCtx=cbCtx, + lookupMib=options.get('lookupMib', True)) snmpEngine.transportDispatcher.runDispatcher() @@ -213,8 +213,8 @@ def setCmd(snmpEngine, authData, transportTarget, contextData, if varBinds: cmdgen.setCmd(snmpEngine, authData, transportTarget, contextData, *varBinds, - **dict(cbFun=cbFun, cbCtx=cbCtx, - lookupMib=options.get('lookupMib', True))) + cbFun=cbFun, cbCtx=cbCtx, + lookupMib=options.get('lookupMib', True)) snmpEngine.transportDispatcher.runDispatcher() @@ -356,8 +356,8 @@ def nextCmd(snmpEngine, authData, transportTarget, contextData, if varBinds: cmdgen.nextCmd(snmpEngine, authData, transportTarget, contextData, *[(x[0], Null('')) for x in varBinds], - **dict(cbFun=cbFun, cbCtx=cbCtx, - lookupMib=options.get('lookupMib', True))) + cbFun=cbFun, cbCtx=cbCtx, + lookupMib=options.get('lookupMib', True)) snmpEngine.transportDispatcher.runDispatcher() @@ -561,8 +561,8 @@ def bulkCmd(snmpEngine, authData, transportTarget, contextData, cmdgen.bulkCmd(snmpEngine, authData, transportTarget, contextData, nonRepeaters, maxRepetitions, *[(x[0], Null('')) for x in varBinds], - **dict(cbFun=cbFun, cbCtx=cbCtx, - lookupMib=options.get('lookupMib', True))) + cbFun=cbFun, cbCtx=cbCtx, + lookupMib=options.get('lookupMib', True)) snmpEngine.transportDispatcher.runDispatcher() diff --git a/pysnmp/hlapi/v3arch/asyncore/sync/compat/cmdgen.py b/pysnmp/hlapi/v3arch/asyncore/sync/compat/cmdgen.py index 8fa5784d..f2230826 100644 --- a/pysnmp/hlapi/v3arch/asyncore/sync/compat/cmdgen.py +++ b/pysnmp/hlapi/v3arch/asyncore/sync/compat/cmdgen.py @@ -35,8 +35,8 @@ def getCmd(snmpEngine, authData, transportTarget, contextData, if varBinds: cmdgen.getCmd(snmpEngine, authData, transportTarget, contextData, *varBinds, - **dict(cbFun=cbFun, cbCtx=cbCtx, - lookupMib=options.get('lookupMib', True))) + cbFun=cbFun, cbCtx=cbCtx, + lookupMib=options.get('lookupMib', True)) snmpEngine.transportDispatcher.runDispatcher() @@ -67,8 +67,8 @@ def setCmd(snmpEngine, authData, transportTarget, contextData, while True: cmdgen.setCmd(snmpEngine, authData, transportTarget, contextData, *varBinds, - **dict(cbFun=cbFun, cbCtx=cbCtx, - lookupMib=options.get('lookupMib', True))) + cbFun=cbFun, cbCtx=cbCtx, + lookupMib=options.get('lookupMib', True)) snmpEngine.transportDispatcher.runDispatcher() @@ -107,8 +107,8 @@ def nextCmd(snmpEngine, authData, transportTarget, contextData, while True: cmdgen.nextCmd(snmpEngine, authData, transportTarget, contextData, *[(x[0], Null('')) for x in varBinds], - **dict(cbFun=cbFun, cbCtx=cbCtx, - lookupMib=options.get('lookupMib', True))) + cbFun=cbFun, cbCtx=cbCtx, + lookupMib=options.get('lookupMib', True)) snmpEngine.transportDispatcher.runDispatcher() @@ -185,8 +185,8 @@ def bulkCmd(snmpEngine, authData, transportTarget, contextData, cmdgen.bulkCmd(snmpEngine, authData, transportTarget, contextData, nonRepeaters, maxRepetitions, *[(x[0], Null('')) for x in varBinds], - **dict(cbFun=cbFun, cbCtx=cbCtx, - lookupMib=options.get('lookupMib', True))) + cbFun=cbFun, cbCtx=cbCtx, + lookupMib=options.get('lookupMib', True)) snmpEngine.transportDispatcher.runDispatcher() |