[PATCH] pysim[master]: fixup

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

dexter gerrit-no-reply at lists.osmocom.org
Wed Apr 5 22:37:10 UTC 2017


Review at  https://gerrit.osmocom.org/2230

fixup

Change-Id: I32a81a2f1bc0c8f4b4eb41c45c3000f60b2902c3
---
M pySim/commands.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/30/2230/1

diff --git a/pySim/commands.py b/pySim/commands.py
index d8bd8f2..777dd24 100644
--- a/pySim/commands.py
+++ b/pySim/commands.py
@@ -29,7 +29,7 @@
 	def __init__(self, transport):
 		self._tp = transport;
 		self._cla_byte = "a0"
-		self._sel_ctrl = "0000"
+		self.sel_ctrl = "0000"
 
 	@property
 	def cla_byte(self):
@@ -48,7 +48,7 @@
 	def select_file(self, dir_list):
 		rv = []
 		for i in dir_list:
-			data, sw = self._tp.send_apdu_checksw(self.cla_byte + "a4" + self._sel_ctrl + "02" + i)
+			data, sw = self._tp.send_apdu_checksw(self.cla_byte + "a4" + self.sel_ctrl + "02" + i)
 			rv.append(data)
 		return rv
 

-- 
To view, visit https://gerrit.osmocom.org/2230
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I32a81a2f1bc0c8f4b4eb41c45c3000f60b2902c3
Gerrit-PatchSet: 1
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list