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.
*** Submitted:
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 app-demo. py).
(`make` and `./cli-
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 /codereview. appspot. com/43600047
CC=
https:/
https:/ /codereview. appspot. com/43600047/