Ticket #4738: rephrase.diff

File rephrase.diff, 855 bytes (added by John Shaffer <jshaffer2112@…>, 13 years ago)

Rewrite the error message

  • utils.py

     
    123123        except Exception, e:           
    124124            sys.stderr.write("Got an error creating the test database: %s\n" % e)
    125125            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':
    128128                try:
    129129                    if verbosity >= 1:
    130130                        print "Destroying old test database..."               
Back to Top