mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 08:41:16 +00:00
fix Python 3.9 issue
This commit is contained in:
parent
bdce6575cd
commit
24275b460b
@ -153,7 +153,7 @@ def _import_union(self, type_pdb: dict[str, Any]) -> DataType:
|
|||||||
union_type = get_ghidra_type(self.api, type_pdb["name"])
|
union_type = get_ghidra_type(self.api, type_pdb["name"])
|
||||||
assert (
|
assert (
|
||||||
union_type.getLength() == type_pdb["size"]
|
union_type.getLength() == type_pdb["size"]
|
||||||
), f"Wrong size of existing union type '{type_pdb['name']}': expected {type_pdb["size"]}, got {union_type.getLength()}"
|
), f"Wrong size of existing union type '{type_pdb['name']}': expected {type_pdb['size']}, got {union_type.getLength()}"
|
||||||
return union_type
|
return union_type
|
||||||
except TypeNotFoundInGhidraError as e:
|
except TypeNotFoundInGhidraError as e:
|
||||||
# We have so few instances, it is not worth implementing this
|
# We have so few instances, it is not worth implementing this
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user