Change in pysim[master]: Whitespace fixes

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

daniel gerrit-no-reply at lists.osmocom.org
Mon Oct 19 09:05:52 UTC 2020


daniel has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/20763 )


Change subject: Whitespace fixes
......................................................................

Whitespace fixes

Change-Id: I595c70ca876d07277551d340c3c5df4d49b1928c
---
M pySim/cards.py
1 file changed, 5 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/63/20763/1

diff --git a/pySim/cards.py b/pySim/cards.py
index e949fff..1d5f5c6 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -620,9 +620,9 @@
 
 	def program(self, p):
 
-		# select MF 
+		# select MF
 		r = self._scc.select_file(['3f00'])
-		
+
 		# authenticate as SUPER ADM using default key
 		self._scc.verify_chv(0x0b, h2b("3838383838383838"))
 
@@ -638,7 +638,7 @@
 
 		pdu = 'A0D43A0508' + b2h(pin)
 		data, sw = self._scc._tp.send_apdu(pdu)
-		
+
 		# authenticate as ADM (enough to write file, and can set PINs)
 
 		self._scc.verify_chv(0x05, pin)
@@ -648,7 +648,7 @@
 
 		# select DF_GSM
 		r = self._scc.select_file(['7f20'])
-		
+
 		# write EF.IMSI
 		data, sw = self._scc.update_binary('6f07', enc_imsi(p['imsi']))
 
@@ -670,7 +670,7 @@
 
 		# select DF_TELECOM
 		r = self._scc.select_file(['3f00', '7f10'])
-		
+
 		# write EF.SMSP
 		if p.get('smsp'):
 			data, sw = self._scc.update_record('6f42', 1, lpad(p['smsp'], 80))

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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I595c70ca876d07277551d340c3c5df4d49b1928c
Gerrit-Change-Number: 20763
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201019/1bcd2b2b/attachment.htm>


More information about the gerrit-log mailing list