This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A python tool to program magic SIMs".
The branch, master has been updated
via 665bd22fc5ca24fa9e9b8fa8f5f176b8164b89d5 (commit)
from 287b6ce1b49fc924fd281a000748f2002114c408 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/pysim/commit/?id=665bd22fc5ca24fa9e9b8fa8f5f176b816…
commit 665bd22fc5ca24fa9e9b8fa8f5f176b8164b89d5
Author: Pau Espin Pedrol <pespin(a)sysmocom.de>
Date: Fri Dec 29 20:30:35 2017 +0100
utils.py: dec_imsi: Fix ValueError
It should fix the following observed error:
~/pysim$ ./pySim-read.py -p0
Reading ...
ICCID:
Traceback (most recent call last):
File "./pySim-read.py", line 99, in <module>
print("IMSI: %s" % (dec_imsi(res),))
File "/home/lab434/pysim/pySim/utils.py", line 57, in dec_imsi
l = int(ef[0:2]) * 2 # Length of the IMSI string
ValueError: invalid literal for int() with base 10: 'ff'
Change-Id: I7d3ecbf9edd190d1941816796cee60e3957d5943
-----------------------------------------------------------------------
Summary of changes:
pySim/utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
A python tool to program magic SIMs