Change in pysim[master]: Surround by try except to continue programming of other parameters

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/.

herlesupreeth gerrit-no-reply at lists.osmocom.org
Sun Oct 4 09:15:57 UTC 2020


herlesupreeth has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/20313 )

Change subject: Surround by try except to continue programming of other parameters
......................................................................


Patch Set 2:

> Patch Set 2:
> 
> > Thats true, I had not thought about it from the perspective of using a script for programming. I will change it to print to stderr which seems to be the most simplest and straightforward solution.
> 
> printing to stderr is not sufficient.  Your script will want to use the exit code "$?" to determine success or failure of the command.  If there were any errors, the exit code must be non-zero.

I was using one of the older ISIM you send for testing and that didnt support writing EHPLMN thats why I ended up putting a try catch so that programming doesnt fail. But now i see the point so I will go ahead and drop this commit.


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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I5a200e0594dc29cb6fdaf8966f4a11adeddcd80f
Gerrit-Change-Number: 20313
Gerrit-PatchSet: 2
Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-CC: dexter <pmaier at sysmocom.de>
Gerrit-CC: laforge <laforge at osmocom.org>
Gerrit-Comment-Date: Sun, 04 Oct 2020 09:15:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201004/b15ee579/attachment.htm>


More information about the gerrit-log mailing list