Fixed two "null case" bugs:
authorPete Vander Giessen <petevg@gmail.com>
Wed, 30 Nov 2016 02:11:12 +0000 (21:11 -0500)
committerPete Vander Giessen <petevg@gmail.com>
Wed, 30 Nov 2016 13:55:01 +0000 (08:55 -0500)
commit2f24fbf91801cb5f1cc9561fca539c48f6f15776
treeb4b52c4e5a58ca1fd73a5a87d2681685010251b6
parentd0d72bc5f59b0931f835e1c3df29c9d988f3f02a
Fixed two "null case" bugs:

add_unit no longer fails when we pass "None" for our placement
directive.

checking leadership on a subordinate no longer fails, as we are more
careful about pull stuff out of the full status map.
juju/unit.py