Skip to content

Commit

Permalink
Ensure the config/branch methods always return.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikelos committed Mar 25, 2018
1 parent d8cdd79 commit 10f65a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volatility/framework/interfaces/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def branch(self, key: str) -> typing.Optional['HierarchicalDict']:
return self._subdict[key]
except KeyError:
self._setitem(key = key, value = HierarchicalDict(separator = self.separator), is_data = True)
return None
return HierarchicalDict()

def splice(self, key: str, value: 'HierarchicalDict') -> None:
"""Splices an existing HierarchicalDictionary under a specific key
Expand Down

0 comments on commit 10f65a6

Please sign in to comment.