mirror of https://gerrit.osmocom.org/pysim
commands: resolve inconsistency on sel_ctrl
The code uses self.sel_ctrl everywhere except in the two @property methods, where the _sel_ctrl variable is used. Let's just abandon those property methods and make sure all users directly use the [public] sel_ctrl member variable. Change-Id: I10362300c1cf7b493d89bf71bbd3a10c80ef9a49
This commit is contained in:
parent
5933c3b88d
commit
951f263de7
|
@ -96,13 +96,6 @@ class SimCardCommands(object):
|
|||
def cla_byte(self, value):
|
||||
self._cla_byte = value
|
||||
|
||||
@property
|
||||
def sel_ctrl(self):
|
||||
return self._sel_ctrl
|
||||
@sel_ctrl.setter
|
||||
def sel_ctrl(self, value):
|
||||
self._sel_ctrl = value
|
||||
|
||||
def try_select_path(self, dir_list):
|
||||
""" Try to select a specified path given as list of hex-string FIDs"""
|
||||
rv = []
|
||||
|
|
Loading…
Reference in New Issue