summaryrefslogtreecommitdiff
path: root/pysnmp/proto/secmod/rfc3414
diff options
context:
space:
mode:
authorelie <elie>2015-12-19 12:12:40 +0000
committerelie <elie>2015-12-19 12:12:40 +0000
commita3b3b738b0d65b8217ab8a43d8e149da35aa109a (patch)
tree9d3a3a23693bc0257b494b4adc74110441cd3a2b /pysnmp/proto/secmod/rfc3414
parentfef6965a411d94256f6995fcc126d8b25ee853dd (diff)
downloadpysnmp-git-a3b3b738b0d65b8217ab8a43d8e149da35aa109a.tar.gz
typos
Diffstat (limited to 'pysnmp/proto/secmod/rfc3414')
-rw-r--r--pysnmp/proto/secmod/rfc3414/service.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pysnmp/proto/secmod/rfc3414/service.py b/pysnmp/proto/secmod/rfc3414/service.py
index 7bb0e54d..11a433dd 100644
--- a/pysnmp/proto/secmod/rfc3414/service.py
+++ b/pysnmp/proto/secmod/rfc3414/service.py
@@ -263,7 +263,7 @@ class SnmpUSMSecurityModel(AbstractSecurityModel):
debug.logger & debug.flagSM and debug.logger('__generateRequestOrResponseMsg: clone user info')
except PyAsn1Error:
- debug.logger & debug.flagSM and debug.logger('processIncomingMsg: %s' % (sys.exc_info()[1],))
+ debug.logger & debug.flagSM and debug.logger('__generateRequestOrResponseMsg: %s' % (sys.exc_info()[1],))
snmpInGenErrs, = snmpEngine.msgAndPduDsp.mibInstrumController.mibBuilder.importSymbols('__SNMPv2-MIB', 'snmpInGenErrs')
snmpInGenErrs.syntax += 1
raise error.StatusInformation(
@@ -605,7 +605,7 @@ class SnmpUSMSecurityModel(AbstractSecurityModel):
debug.logger & debug.flagSM and debug.logger('processIncomingMsg: unknown securityEngineID %r msgUserName %r' % (msgAuthoritativeEngineID, msgUserName))
if __reportUnknownName:
usmStatsUnknownUserNames, = snmpEngine.msgAndPduDsp.mibInstrumController.mibBuilder.importSymbols('__SNMP-USER-BASED-SM-MIB', 'usmStatsUnknownUserNames')
- usmStatsUnknownUserNames.syntax = usmStatsUnknownUserNames.syntax+1
+ usmStatsUnknownUserNames.syntax += 1
raise error.StatusInformation(
errorIndication=errind.unknownSecurityName,
oid=usmStatsUnknownUserNames.name,