mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
utils.py: de-couple sanitize_pin_adm from argparse 'opts'
This allows the function to be re-used in other contexts Change-Id: I116e85acca3aeb0a0c24f74653c500ac2dc1d844
This commit is contained in:
@@ -446,7 +446,7 @@ def gen_parameters(opts):
|
||||
else:
|
||||
opc = ''.join(['%02x' % random.randrange(0,256) for i in range(16)])
|
||||
|
||||
pin_adm = sanitize_pin_adm(opts)
|
||||
pin_adm = sanitize_pin_adm(opts.pin_adm, opts.pin_adm_hex)
|
||||
|
||||
# ePDG Selection Information
|
||||
if opts.epdgSelection:
|
||||
|
||||
Reference in New Issue
Block a user