Ticket #4738: rephrase.diff
File rephrase.diff, 855 bytes (added by , 17 years ago) |
---|
-
utils.py
123 123 except Exception, e: 124 124 sys.stderr.write("Got an error creating the test database: %s\n" % e) 125 125 if not autoclobber: 126 confirm = raw_input(" It appears the test database, %s, already exists. Type 'yes' to delete it, or 'no'to cancel: " % TEST_DATABASE_NAME)127 if autoclobber or confirm == ' yes':126 confirm = raw_input("Type 'delete' to drop the test database (%s), or anything else to cancel: " % TEST_DATABASE_NAME) 127 if autoclobber or confirm == 'delete': 128 128 try: 129 129 if verbosity >= 1: 130 130 print "Destroying old test database..."