summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Etingof <ietingof@redhat.com>2017-02-02 00:26:59 +0100
committerIlya Etingof <ietingof@redhat.com>2017-02-02 00:26:59 +0100
commitf14ec6c68ee00670d258073c7e7b5b7b93a77849 (patch)
treef1745723e1ff03474f0d6bf714573572c6fca1a8
parentf406a3296d89b16d40e884e6a7cb041e5f82f03e (diff)
downloadpysnmp-git-f14ec6c68ee00670d258073c7e7b5b7b93a77849.tar.gz
fix to TextualConvention initializer
-rw-r--r--pysnmp/smi/mibs/SNMPv2-TC.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/smi/mibs/SNMPv2-TC.py b/pysnmp/smi/mibs/SNMPv2-TC.py
index 3081934f..e7a9f031 100644
--- a/pysnmp/smi/mibs/SNMPv2-TC.py
+++ b/pysnmp/smi/mibs/SNMPv2-TC.py
@@ -267,7 +267,7 @@ class TextualConvention:
else:
return base.prettyIn(self, value)
- outputValue = octets.ints2octs()
+ outputValue = octets.str2octs('')
runningValue = value
displayHint = self.displayHint
while runningValue and displayHint: