fixup of fixup: context.unset_data
git#
This commit is contained in:
parent
6d629137fb
commit
38029e3587
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ class Context:
|
|||
|
||||
def unset_data(self, key: str):
|
||||
if key == "":
|
||||
self._doc = {}
|
||||
self._data = {}
|
||||
data = self._data
|
||||
keys = key.split(".")
|
||||
for k in keys[:-1]:
|
||||
|
|
Loading…
Reference in a new issue