dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/32532 )


Change subject: fix_add_settable
......................................................................

fix_add_settable

Change-Id: I38efe4702277ee092a5542d7d659df08cb0adeff
---
M pySim-shell.py
1 file changed, 13 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/32/32532/1

diff --git a/pySim-shell.py b/pySim-shell.py
index d09b45a..3b874d0 100755
--- a/pySim-shell.py
+++ b/pySim-shell.py
@@ -145,16 +145,15 @@
         self.ch = ch

         self.numeric_path = False
-        self.add_settable(cmd2.Settable('numeric_path', bool, 'Print File IDs 
instead of names',
+        self.add_settable(cmd2.Settable('numeric_path', bool, 'Print File IDs 
instead of names', self,
                                         
onchange_cb=self._onchange_numeric_path))
         self.conserve_write = True
-        self.add_settable(cmd2.Settable('conserve_write', bool, 'Read and 
compare before write',
+        self.add_settable(cmd2.Settable('conserve_write', bool, 'Read and 
compare before write', self,
                                         
onchange_cb=self._onchange_conserve_write))
         self.json_pretty_print = True
-        self.add_settable(cmd2.Settable('json_pretty_print',
-                          bool, 'Pretty-Print JSON output'))
+        self.add_settable(cmd2.Settable('json_pretty_print', bool, 
'Pretty-Print JSON output', self))
         self.apdu_trace = False
-        self.add_settable(cmd2.Settable('apdu_trace', bool, 'Trace and display 
APDUs exchanged with card',
+        self.add_settable(cmd2.Settable('apdu_trace', bool, 'Trace and display 
APDUs exchanged with card', self,
                                         onchange_cb=self._onchange_apdu_trace))

         self.equip(card, rs)

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/32532
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I38efe4702277ee092a5542d7d659df08cb0adeff
Gerrit-Change-Number: 32532
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>
Gerrit-MessageType: newchange

Reply via email to