pySim-prog: fix sourcecode formatting

Change-Id: Ie4d4ec6d1752013fa8aa39912aa600c2b4afac74
This commit is contained in:
Philipp Maier
2024-09-13 18:08:35 +02:00
parent 492379e61a
commit bd762c77ae

View File

@@ -204,8 +204,7 @@ def parse_options():
parser.error("CSV mode requires a CSV input file") parser.error("CSV mode requires a CSV input file")
elif options.source == 'cmdline': elif options.source == 'cmdline':
if ((options.imsi is None) or (options.iccid is None)) and (options.num is None): if ((options.imsi is None) or (options.iccid is None)) and (options.num is None):
parser.error( parser.error("If either IMSI or ICCID isn't specified, num is required")
"If either IMSI or ICCID isn't specified, num is required")
else: else:
parser.error("Only `cmdline' and `csv' sources supported") parser.error("Only `cmdline' and `csv' sources supported")