From 951f263de79f78f26529624bf8305dff4f6b7ea2 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 23 May 2021 14:04:51 +0200 Subject: [PATCH] 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 --- pySim/commands.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pySim/commands.py b/pySim/commands.py index 48c66bd2..800c2dd6 100644 --- a/pySim/commands.py +++ b/pySim/commands.py @@ -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 = []