diff options
author | Rob Austein <sra@hactrn.net> | 2010-10-30 14:59:20 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-10-30 14:59:20 +0000 |
commit | 93cb7d3cf42e46cf53bcb323053a98ffbb38f42a (patch) | |
tree | 58a461c738440cfb7a409c8d4b6a2c7733d3d24a /scripts | |
parent | 8ebc86585fc8a057293b2f578e0a102501c3e99e (diff) |
Doh, don't loop forever if somebody insists on running this under
Python 2.5.
svn path=/scripts/rpkidemo; revision=3520
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rpkidemo | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/rpkidemo b/scripts/rpkidemo index 56d9c946..fa4e7866 100755 --- a/scripts/rpkidemo +++ b/scripts/rpkidemo @@ -51,6 +51,9 @@ if python_version == (2, 5): sys.exit("You have chosen wisely") elif answer in ("y", "yes"): print "You have been warned" + break + else: + print 'Please answer "yes" or "no"' elif python_version == (2, 6): |