Change in pysim[master]: cosmetic: fix sourecode formatting

dexter gerrit-no-reply at lists.osmocom.org
Mon Apr 1 13:50:38 UTC 2019


dexter has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/76/13476/1

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: newchange
Gerrit-Change-Id: I4836826811ffb0aeb103d32eb874f5fa52af4186
Gerrit-Change-Number: 13476
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190401/07164e21/attachment.html>


More information about the gerrit-log mailing list