Added observer + callback for unit.run.
authorPete Vander Giessen <petevg@gmail.com>
Tue, 1 Nov 2016 21:28:21 +0000 (17:28 -0400)
committerPete Vander Giessen <petevg@gmail.com>
Wed, 2 Nov 2016 15:06:43 +0000 (11:06 -0400)
commit723e8549e181796e84b9a436c7f27cbbc7a39552
tree470443cad9324e48d50ad31bbaab1452d8cb5ad2
parentbccd5c73a2f02a768612c7aec318c910fceda299
Added observer + callback for unit.run.

Allows us to wait until an action has actually been completed before
returning a result.
examples/unitrun.py
juju/unit.py