summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/contrib/auth/management/commands/createsuperuser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/auth/management/commands/createsuperuser.py b/django/contrib/auth/management/commands/createsuperuser.py
index 93ac89b9fb..65ad94b694 100644
--- a/django/contrib/auth/management/commands/createsuperuser.py
+++ b/django/contrib/auth/management/commands/createsuperuser.py
@@ -76,8 +76,8 @@ class Command(BaseCommand):
else:
# Prompt for username/password, and any other required fields.
- # Enclose this whole thing in a try/except to trap for a
- # keyboard interrupt and exit gracefully.
+ # Enclose this whole thing in a try/except to catch
+ # KeyboardInterrupt and exit gracefully.
default_username = get_default_username()
try: