diff options
author | elie <elie> | 2011-01-22 22:00:24 +0000 |
---|---|---|
committer | elie <elie> | 2011-01-22 22:00:24 +0000 |
commit | 196a0b4e59681708011eadbcb998c3be7ecbd67b (patch) | |
tree | 7dd39f9917751139ece2ddadf4cb26154ee92421 | |
parent | 560ae55e639ff5c2fcbaa27e4052e2b1cd715c8e (diff) | |
download | pysnmp-196a0b4e59681708011eadbcb998c3be7ecbd67b.tar.gz |
skip constraints checking af VarBind object
-rw-r--r-- | pysnmp/proto/api/v1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/proto/api/v1.py b/pysnmp/proto/api/v1.py index dc42267..33bee4f 100644 --- a/pysnmp/proto/api/v1.py +++ b/pysnmp/proto/api/v1.py @@ -30,7 +30,7 @@ class VarBindAPI: def setOIDVal(self, varBind, (oid, val)): varBind.setComponentByPosition(0, oid) if val is None: val = self._null - varBind.setComponentByPosition(1).getComponentByPosition(1).setComponentByType(val.getTagSet(), val, 1) + varBind.setComponentByPosition(1).getComponentByPosition(1).setComponentByType(val.getTagSet(), val, 1, verifyConstraints=False) return varBind def getOIDVal(self, varBind): |