~frankban/juju-quickstart/distro-only-flag

Viewing all changes in revision 39.

  • Committer: Francesco Banconi
  • Date: 2013-12-19 17:43:53 UTC
  • mfrom: (38.1.6 improve-input-handling)
  • Revision ID: francesco.banconi@canonical.com-20131219174353-htyy0qml26jpv3am
Improve views input handling.

Add a new set_return_value_on_exit API that
views can call to set the value encapsulated
in the AppExit exception raised when the user
quits the application with ^X.

Tests: `make check`

QA: start the demo app 
(`make` and `./cli-app-demo.py).
Try exiting with ^X: you should see the
"no environment selected" message.
Restart and exit selecting an environment:
you should see a message indicating that
environment has been selected.
Restart and change the default environment,
then exit: you should see the new env_db
printed and the new default environment.

R=matthew.scott
CC=
https://codereview.appspot.com/43600047

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: