diff --git a/pillar/application/utils/__init__.py b/pillar/application/utils/__init__.py index 76e970b8..b15edcb2 100644 --- a/pillar/application/utils/__init__.py +++ b/pillar/application/utils/__init__.py @@ -2,8 +2,9 @@ import copy def remove_private_keys(document): - """Removes any key that starts with an underscore, returns result as new dictionary.""" - + """Removes any key that starts with an underscore, returns result as new + dictionary. + """ patch_info = copy.deepcopy(document) for key in list(patch_info.keys()): if key.startswith('_'):