lynxis lazus has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/41580?usp=email )


Change subject: ts_102_221: EF.ARR: fix read_arr_record
......................................................................

ts_102_221: EF.ARR: fix read_arr_record

`read_arr_record 1` failed with an AttributeError exception
because RECORD_NR must be all caps.

Change-Id: If44f9f2271293d3063f6c527e5a68dcfaeb5942e
---
M pySim/ts_102_221.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/80/41580/1

diff --git a/pySim/ts_102_221.py b/pySim/ts_102_221.py
index d97b3cf..e38483d 100644
--- a/pySim/ts_102_221.py
+++ b/pySim/ts_102_221.py
@@ -750,7 +750,7 @@
         @cmd2.with_argparser(LinFixedEF.ShellCommands.read_rec_dec_parser)
         def do_read_arr_record(self, opts):
             """Read one EF.ARR record in flattened, human-friendly form."""
-            (data, _sw) = self._cmd.lchan.read_record_dec(opts.record_nr)
+            (data, _sw) = self._cmd.lchan.read_record_dec(opts.RECORD_NR)
             data = self._cmd.lchan.selected_file.flatten(data)
             self._cmd.poutput_json(data, opts.oneline)


--
To view, visit https://gerrit.osmocom.org/c/pysim/+/41580?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: If44f9f2271293d3063f6c527e5a68dcfaeb5942e
Gerrit-Change-Number: 41580
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <[email protected]>

Reply via email to