Attention is currently required from: dexter.
1 comment:
File pySim/esim/saip/__init__.py:
Patch Set #3, Line 638: self.decoded[f.pe_name] = f.to_tuples()
There is something I am struggling with. There is already the add_file() method. […]
we could
a) make sure that the caller-provided file is actually contained in self.files (which is how I intended it to be used) and not some completely different source
b) pass a path into this function, resolve the File from self.files and then update it. This would incur the look-up cost, which is why I decided to permit passing the file instance directly
In any case, the fundamental problem is:
Due to the many nasty details of the SAIP file format, and it's various encoding options, referral to [various differnt versions of] templates with default content, etc. I think it will be a long time until we have code that can reliably and loss-free translate decoded -> files -> decoded for the whole PE.
To view, visit change 41734. To unsubscribe, or for help writing mail filters, visit settings.