Skip to content

Commit ddf3085

Browse files
committed
Release 4.4.6
1 parent 51a15bd commit ddf3085

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGES.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Revision 4.4.6, released 2018-08-XX
2+
Revision 4.4.6, released 2018-09-13
33
-----------------------------------
44

55
- Improved package build and dependency tracking
@@ -9,6 +9,10 @@ Revision 4.4.6, released 2018-08-XX
99
would fail.
1010
- Fix to tolerate possible duplicate enumerations in `Bits` and `Integer`
1111
SMI types.
12+
- Fix to tolerate non-initialised entries in SNMP community table. Once a
13+
bad entry sneaked into the SNMP community table, all the subsequent
14+
SNMP v1/v2c operations failed. The fix ignores incomplete SNMP community
15+
table entries in the course of building indices.
1216

1317
Revision 4.4.5, released 2018-08-05
1418
-----------------------------------

pysnmp/proto/rfc1902.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ class Bits(OctetString):
605605

606606
def __new__(cls, *args, **kwargs):
607607
if 'namedValues' in kwargs:
608-
Bits = cls.withNamedBits(**kwargs.pop('namedValues'))
608+
Bits = cls.withNamedBits(**dict(kwargs.pop('namedValues')))
609609
return Bits(*args, **kwargs)
610610

611611
return OctetString.__new__(cls)

0 commit comments

Comments
 (0)