summaryrefslogtreecommitdiff
path: root/django/db/models/sql
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/models/sql')
-rw-r--r--django/db/models/sql/compiler.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/db/models/sql/compiler.py b/django/db/models/sql/compiler.py
index 14d44d3eef..b23404f21d 100644
--- a/django/db/models/sql/compiler.py
+++ b/django/db/models/sql/compiler.py
@@ -1052,8 +1052,7 @@ class SQLCompiler:
raise
if result_type == CURSOR:
- # Caller didn't specify a result_type, so just give them back the
- # cursor to process (and close).
+ # Give the caller the cursor to process and close.
return cursor
if result_type == SINGLE:
try: