Author: russellm
Date: 2007-07-20 09:42:57 -0500 (Fri, 20 Jul 2007)
New Revision: 5732

Modified:
   django/trunk/django/test/utils.py
Log:
Fixed #4738 -- Modified the prompt that is displayed when a test database 
cannot be created. The existing prompt was misleading if the issue wasn't a 
pre-existing database. Thanks for the suggestion, John Shaffer <[EMAIL 
PROTECTED]>.


Modified: django/trunk/django/test/utils.py
===================================================================
--- django/trunk/django/test/utils.py   2007-07-20 14:32:20 UTC (rev 5731)
+++ django/trunk/django/test/utils.py   2007-07-20 14:42:57 UTC (rev 5732)
@@ -123,7 +123,7 @@
         except Exception, e:            
             sys.stderr.write("Got an error creating the test database: %s\n" % 
e)
             if not autoclobber:
-                confirm = raw_input("It appears the test database, %s, already 
exists. Type 'yes' to delete it, or 'no' to cancel: " % TEST_DATABASE_NAME)
+                confirm = raw_input("Type 'yes' if you would like to try 
deleting the test database '%s', or 'no' to cancel: " % TEST_DATABASE_NAME)
             if autoclobber or confirm == 'yes':
                 try:
                     if verbosity >= 1:


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to