From 05d3da602f79af0bd2cce4a0f3ba4bdbb276c443 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 22 Aug 2016 00:05:05 +0100 Subject: [PATCH] Remove splice as too dangerous (and hopefully unnecessary). --- volatility/framework/configuration/__init__.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/volatility/framework/configuration/__init__.py b/volatility/framework/configuration/__init__.py index 75b9791c6..c75425a83 100644 --- a/volatility/framework/configuration/__init__.py +++ b/volatility/framework/configuration/__init__.py @@ -128,15 +128,6 @@ class HierarchicalDict(collections.Mapping): else: return self._subdict[key] - def splice(self, key, subdict): - """Overwrites a branch in an existing tree with a new tree - - WARNING: This will *NOT* make alterations to objects that have already been given a config_path - meaning those objects will fail their configuration lookup. - This can also be used to bulk delete a branch of a tree by passing in None - """ - self._setitem(key, subdict, is_data = False) - def clone(self): """Duplicate the configuration, allowing changes without affecting the original""" return copy.deepcopy(self)