pywikibot-catfiles / file-metadata

A python package to analyze files and provide useful metadata
MIT License
15 stars 1 forks source link

DictNoNone: Delete item if value is being set to None #38

Closed AbdealiLoKo closed 8 years ago

AbdealiLoKo commented 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

AbdealiLoKo commented 8 years ago

Fixed in https://github.com/AbdealiJK/file-metadata/commit/e11dc9c8f499bbe246cbc07f8d249a9b85ba7f5b