dexter has submitted this change and it was merged. (
https://gerrit.osmocom.org/13476 )
Change subject: cosmetic: fix sourecode formatting
......................................................................
cosmetic: fix sourecode formatting
Change-Id: I4836826811ffb0aeb103d32eb874f5fa52af4186
---
M pySim/cards.py
1 file changed, 5 insertions(+), 5 deletions(-)
Approvals:
Jenkins Builder: Verified
Harald Welte: Looks good to me, approved
Vadim Yanitskiy: Looks good to me, but someone else must approve
diff --git a/pySim/cards.py b/pySim/cards.py
index fb84a8d..d912a7a 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -338,12 +338,12 @@
# Set first entry
entry = (
- '81' +
# 1b Status: Valid & Active
+ '81' + # 1b Status:
Valid & Active
rpad(b2h(p['name'][0:14]), 28) + # 14b Entry
Name
- enc_iccid(p['iccid']) + # 10b
ICCID
- enc_imsi(p['imsi']) + # 9b
IMSI_len + id_type(9) + IMSI
- p['ki'] +
# 16b Ki
- lpad(p['smsp'], 80)
# 40b SMSP (padded with ff if needed)
+ enc_iccid(p['iccid']) + # 10b ICCID
+ enc_imsi(p['imsi']) + # 9b IMSI_len
+ id_type(9) + IMSI
+ p['ki'] + # 16b Ki
+ lpad(p['smsp'], 80) # 40b SMSP
(padded with ff if needed)
)
self._scc.update_record('000c', 1, entry)
--
To view, visit https://gerrit.osmocom.org/13476
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4836826811ffb0aeb103d32eb874f5fa52af4186
Gerrit-Change-Number: 13476
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <[email protected]>
Gerrit-Reviewer: dexter <[email protected]>