Addressed PR comments.
authorPete Vander Giessen <petevg@gmail.com>
Wed, 2 Nov 2016 19:10:27 +0000 (15:10 -0400)
committerPete Vander Giessen <petevg@gmail.com>
Wed, 2 Nov 2016 19:10:27 +0000 (15:10 -0400)
commitb89f2fff0ca59f55a5caed03d15e34884721c88b
tree5eb2fc3d579bdefd7dde695ead898483687c7a7d
parent723e8549e181796e84b9a436c7f27cbbc7a39552
Addressed PR comments.

Made a more generic _wait method in the model, and wrapped
_wait_for_new, and a new public method called wait_for_action around it.

unit.run now returns an action object, with .results that can be unpacked.
examples/unitrun.py
juju/model.py
juju/unit.py