pylint: ota.py: fix E0606 possibly-used-before-assignment

************* Module pySim.ota
pySim/ota.py:430:24: E0606: Possibly using variable 'cpl' before assignment (possibly-used-before-assignment)

Change-Id: Ibbae851e458bbe7426a788b0784d553753c1056f
This commit is contained in:
Neels Hofmeyr
2025-03-07 20:35:38 +01:00
parent 19e1330ce8
commit cabb8edd53

View File

@@ -410,6 +410,7 @@ class OtaDialectSms(OtaDialect):
ciph = encoded[2+8:]
envelope_data = otak.crypt.decrypt(ciph)
else:
cpl = None # FIXME this line was just added to silence pylint possibly-used-before-assignment
part_head = encoded[:8]
envelope_data = encoded[8:]