laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/37009?usp=email )


Change subject: esim.saip: Introduce ProfileElement.identification property
......................................................................

esim.saip: Introduce ProfileElement.identification property

Change-Id: I6525bb78619e574296488843e021d505e0632d99
---
M pySim/esim/saip/__init__.py
1 file changed, 16 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/09/37009/1

diff --git a/pySim/esim/saip/__init__.py b/pySim/esim/saip/__init__.py
index 85323c0..938dc48 100644
--- a/pySim/esim/saip/__init__.py
+++ b/pySim/esim/saip/__init__.py
@@ -198,6 +198,13 @@
         return self.decoded.get(self.header_name, None)

     @property
+    def identification(self):
+        if self.header:
+            return self.header['identification']
+        else:
+            return None
+
+    @property
     def templateID(self):
         """Return the decoded templateID used by this profile element (if 
any)."""
         return self.decoded.get('templateID', None)

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/37009?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I6525bb78619e574296488843e021d505e0632d99
Gerrit-Change-Number: 37009
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <lafo...@osmocom.org>
Gerrit-MessageType: newchange

Reply via email to