Skip to content

Commit

Permalink
Fixed errors in logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Sep 20, 2024
1 parent a4f38e4 commit a1d8e2f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pysnmp/smi/mibs/SNMPv2-SMI.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ def writeCommit(self, varBind, **context):
# noinspection PyAttributeOutsideInit
def writeCleanup(self, varBind, **context):
self.branchVersionId += 1
name, val = varBind
debug.logger & debug.FLAG_INS and debug.logger(f"writeCleanup: {name}={val!r}")
# Drop previous value
self.__newSyntax = self.__oldSyntax = None
Expand Down

0 comments on commit a1d8e2f

Please sign in to comment.