Closed AbdealiLoKo closed 8 years ago
In __setitem__ we have if key in self or value is not None: We should be deleting the item if key in self and value is None
__setitem__
if key in self or value is not None:
key in self and value is None
Fixed in https://github.com/AbdealiJK/file-metadata/commit/e11dc9c8f499bbe246cbc07f8d249a9b85ba7f5b
In
__setitem__
we haveif key in self or value is not None:
We should be deleting the item ifkey in self and value is None