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


Change subject: pySim/global_platform: Fix install_for_personalization command
......................................................................

pySim/global_platform: Fix install_for_personalization command

A mix-up betewen underscore and dash resulted in:

Change-Id: I49d12b7c7ae2a343940e87d5069c0ae44a9bc50c
AttributeError: 'Namespace' object has no attribute 'application_aid'
---
M pySim/global_platform/__init__.py
1 file changed, 13 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/24/36924/1

diff --git a/pySim/global_platform/__init__.py 
b/pySim/global_platform/__init__.py
index 5086721..f440fd0 100644
--- a/pySim/global_platform/__init__.py
+++ b/pySim/global_platform/__init__.py
@@ -631,7 +631,7 @@
             _data, _sw = self._cmd.lchan.scc.send_apdu_checksw(b2h(apdu))

         inst_perso_parser = argparse.ArgumentParser()
-        inst_perso_parser.add_argument('application-aid', type=is_hexstr, 
help='Application AID')
+        inst_perso_parser.add_argument('application_aid', type=is_hexstr, 
help='Application AID')

         @cmd2.with_argparser(inst_perso_parser)
         def do_install_for_personalization(self, opts):

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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I49d12b7c7ae2a343940e87d5069c0ae44a9bc50c
Gerrit-Change-Number: 36924
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to