pySim-prog: rename write_parameters function.
The function name "write_parameters" is very generic and since it is called during the programming cycle it should be made clear that it is not about writing parameters to the card. Change-Id: Idaba672987230d7d0dd500409f9fe0b94ba39370
This commit is contained in:
@@ -669,7 +669,7 @@ def write_params_hlr(opts, params):
|
|||||||
conn.close()
|
conn.close()
|
||||||
|
|
||||||
|
|
||||||
def write_parameters(opts, params):
|
def write_parameters_to_csv_and_hlr(opts, params):
|
||||||
write_params_csv(opts, params)
|
write_params_csv(opts, params)
|
||||||
write_params_hlr(opts, params)
|
write_params_hlr(opts, params)
|
||||||
|
|
||||||
@@ -764,8 +764,8 @@ def process_card(opts, first, ch):
|
|||||||
else:
|
else:
|
||||||
print("Dry Run: NOT PROGRAMMING!")
|
print("Dry Run: NOT PROGRAMMING!")
|
||||||
|
|
||||||
# Write parameters permanently
|
# Write parameters to a specified CSV file or an HLR database (not the card)
|
||||||
write_parameters(opts, cp)
|
write_parameters_to_csv_and_hlr(opts, cp)
|
||||||
|
|
||||||
# Batch mode state update and save
|
# Batch mode state update and save
|
||||||
if opts.num is not None:
|
if opts.num is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user