mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-20 05:35:41 +02:00
Fix up old code and docstring indent issue.
This commit is contained in:
@@ -154,7 +154,7 @@ class ObjectInterface(metaclass = ABCMeta):
|
||||
current object inhabits.
|
||||
|
||||
.. note:: If new type name does not include a symbol table, the
|
||||
symbol table for the current object is used
|
||||
symbol table for the current object is used
|
||||
"""
|
||||
# TODO: Carefully consider the implications of casting and how it should work
|
||||
if constants.BANG not in new_type_name:
|
||||
|
||||
@@ -29,9 +29,3 @@ class MultiRegexp(object):
|
||||
raise ValueError("MultiRegexp cannot be used with an empty set of search strings")
|
||||
for match in re.finditer(self._regex, haystack):
|
||||
yield (match.start(0), match.group())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
import multistring_testrig
|
||||
|
||||
multistring_testrig.tester(MultiRegexp())
|
||||
|
||||
Reference in New Issue
Block a user