Trying to debug issue #633, I noticed that one of the difficulties of using the library (and a probable cause for the confusion that originated the issue) was the very short output given by the GroupMod class representation: just GroupMod(xid=UBInt32(4)), when it is a deep object with many attributes, including a Header and a ListOfBuckets objects, each bucket with a list of Action's.
So, to ease debugging and to try to avoid the same confusion in the future, we should add a better string representation to GroupMod and its referenced classes.
Trying to debug issue #633, I noticed that one of the difficulties of using the library (and a probable cause for the confusion that originated the issue) was the very short output given by the
GroupMod
class representation: justGroupMod(xid=UBInt32(4))
, when it is a deep object with many attributes, including aHeader
and aListOfBuckets
objects, each bucket with a list ofAction
's.So, to ease debugging and to try to avoid the same confusion in the future, we should add a better string representation to
GroupMod
and its referenced classes.