mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-29 21:14:55 +02:00
Replace 'raise StopIteration' with a blank 'return', since changes in python-3.7 change StopIeration to a RuntimeError.
This commit is contained in:
@@ -155,9 +155,9 @@ class Intel(interfaces.layers.TranslationLayerInterface):
|
||||
except exceptions.InvalidAddressException:
|
||||
if not ignore_errors:
|
||||
raise
|
||||
raise StopIteration
|
||||
return
|
||||
yield (offset, mapped_offset, length, layer_name)
|
||||
raise StopIteration
|
||||
return
|
||||
while length > 0:
|
||||
try:
|
||||
chunk_offset, page_size, layer_name = self._translate(offset)
|
||||
|
||||
Reference in New Issue
Block a user