#29 Have xmd default as an empty dictionary and not allow None
Merged by ralph. Opened by mprahl.
Unknown source master

Download 29.patch

Before this PR, xmd would default to None which made coding against it messy such as having to check the type before checking if a key is set. This now defaults to a dictionary so that you can simply do the following to check if xmd has a key set:

x = mmd.xmd.get('some_key')

Pull-Request has been merged by ralph

Metadata