Avoid built-in shadowing.

This commit is contained in:
Mike Auty
2015-01-04 21:16:54 +00:00
parent 73bd451759
commit 0af0a5b21f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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"""