Change in pysim[master]: fixup tlv

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sun May 30 17:37:48 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/24462 )


Change subject: fixup tlv
......................................................................

fixup tlv

Change-Id: I48be0101b542f9c53e1c4858b9ab153ab60aa22d
---
M pySim/tlv.py
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/62/24462/1

diff --git a/pySim/tlv.py b/pySim/tlv.py
index 773e761..3b27b5e 100644
--- a/pySim/tlv.py
+++ b/pySim/tlv.py
@@ -315,10 +315,10 @@
         if isinstance(other, TLV_IE_Collection):
             # adding one collection to another
             members = self.members + other.members
-            return TLV_IE_Collection(self.desc, members)
+            return TLV_IE_Collection(self.desc, nested=members)
         elif inspect.isclass(other) and issubclass(other, TLV_IE):
             # adding a member to a collection
-            return TLV_IE_Collection(self.desc, self.members + [other])
+            return TLV_IE_Collection(self.desc, nested = self.members + [other])
         else:
             raise TypeError
 

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/24462
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I48be0101b542f9c53e1c4858b9ab153ab60aa22d
Gerrit-Change-Number: 24462
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210530/a7412591/attachment.htm>


More information about the gerrit-log mailing list