mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 13:17:38 +02:00
Avoid built-in shadowing.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""Volatility 3 Constants
|
||||
|
||||
Stores all the constant values that are generally fixed throughout volatiltiy
|
||||
Stores all the constant values that are generally fixed throughout volatility
|
||||
This includes default scanning block sizes, etc."""
|
||||
|
||||
import os.path
|
||||
|
||||
@@ -14,8 +14,8 @@ from volatility.framework.interfaces import context as context_module
|
||||
class ReadOnlyMapping(validity.ValidityRoutines, collections.abc.Mapping):
|
||||
"""A read-only mapping of various values that offer attribute access as well"""
|
||||
|
||||
def __init__(self, dict):
|
||||
self._dict = dict
|
||||
def __init__(self, dictionary):
|
||||
self._dict = dictionary
|
||||
|
||||
def __getattr__(self, attr):
|
||||
"""Returns the item as an attribute"""
|
||||
|
||||
Reference in New Issue
Block a user