mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 21:27:39 +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:
@@ -45,7 +45,7 @@ class Strings(interfaces.plugins.PluginInterface):
|
||||
yield (0, (str(string, 'latin-1'), format_hints.Hex(offset), ", ".join(revmap_list)))
|
||||
except ValueError:
|
||||
vollog.error("Strings file is in the wrong format")
|
||||
raise StopIteration
|
||||
return
|
||||
|
||||
def _parse_line(self, line: bytes) -> typing.Tuple[int, bytes]:
|
||||
"""Parses a single line from a strings file"""
|
||||
|
||||
Reference in New Issue
Block a user