mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-17 02:48:34 +03:00
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:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user