removed redundant try catch

This commit is contained in:
Paul Kermann
2022-05-29 12:20:24 +03:00
parent 4dd8114dcb
commit cdbe41dbf5
@@ -764,11 +764,7 @@ class LIST_ENTRY(objects.StructType, collections.abc.Iterable):
while link.vol.offset not in seen:
obj_offset = link.vol.offset - relative_offset
try:
is_valid = trans_layer.is_valid(obj_offset)
if not is_valid:
return
except exceptions.InvalidAddressException:
if not trans_layer.is_valid(obj_offset):
return
obj = self._context.object(symbol_type,