From 0af0a5b21f5cc1c02dd062ccd53cc3464e0d0295 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 4 Jan 2015 21:16:54 +0000 Subject: [PATCH] Avoid built-in shadowing. --- volatility/framework/constants.py | 2 +- volatility/framework/interfaces/objects.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility/framework/constants.py b/volatility/framework/constants.py index e0ea83625..f79a773b5 100644 --- a/volatility/framework/constants.py +++ b/volatility/framework/constants.py @@ -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 diff --git a/volatility/framework/interfaces/objects.py b/volatility/framework/interfaces/objects.py index 27ec6a1b2..cc927dd17 100644 --- a/volatility/framework/interfaces/objects.py +++ b/volatility/framework/interfaces/objects.py @@ -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"""