~eday/nova/pep8-fixes-db

Viewing all changes in revision 354.

  • Committer: Tarmac
  • Author(s): Andy Smith
  • Date: 2010-10-15 08:28:41 UTC
  • mfrom: (352.1.2 fix-runtests)
  • Revision ID: hudson@openstack.org-20101015082841-d9ceueyaufnvo4ac
run_tests.sh presents a prompt:

No virtual environment found...create one? (Y/n)

However hitting enter to select the default (Y) actually selects 'n', this patch fixes that.

In all reality this should probably be slightly smarter and not accept invalid input as invalid input will mean "no" and probably result in an unexpected error depending on what the user has installed, but for now it will at least do what is expected in the "happy" case.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: