Merge pull request #16 from petevg/bug/keyerror-in-is-leader
authorTim Van Steenburgh <tvansteenburgh@gmail.com>
Tue, 22 Nov 2016 21:20:29 +0000 (16:20 -0500)
committerGitHub <noreply@github.com>
Tue, 22 Nov 2016 21:20:29 +0000 (16:20 -0500)
commitdb399019ac73dfb980d48b231d69a267de27dd87
tree42dff8367d0449ff7a5d5598f14487c4d39f42b9
parentfada936cf549a9e346c6c2ce45d5cc5da7e6c0c7
parentb3ac09e36410618457c3412b43dbe3f271483d15
Merge pull request #16 from petevg/bug/keyerror-in-is-leader

Added a catch for the case where we call is_leader_from_status on a destroyed unit.
juju/unit.py