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.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/26163 ) Change subject: filesystem: make sure the card is in a defined state ...................................................................... filesystem: make sure the card is in a defined state When the runtime state is created there is already some interaction with the card. Lets make sure that the card is in a defined state when we leave the constructor of the RuntimeState. Change-Id: I986204964903069bcce781afdbf3c5d26682b749 Related: OS#5274 --- M pySim/filesystem.py 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/pySim/filesystem.py b/pySim/filesystem.py index 3d2687f..6010c30 100644 --- a/pySim/filesystem.py +++ b/pySim/filesystem.py @@ -1074,6 +1074,10 @@ self.mf.add_file(f) self.conserve_write = True + # make sure that when the runtime state is created, the card is also + # in a defined state. + self.reset() + def _match_applications(self): """match the applications from the profile with applications on the card""" apps_profile = self.profile.applications -- To view, visit https://gerrit.osmocom.org/c/pysim/+/26163 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I986204964903069bcce781afdbf3c5d26682b749 Gerrit-Change-Number: 26163 Gerrit-PatchSet: 3 Gerrit-Owner: dexter <pmaier at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann at sysmocom.de> Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: osmith <osmith at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211110/8bcd38e1/attachment.htm>