summaryrefslogtreecommitdiff
path: root/django/db/backends/utils.py
diff options
context:
space:
mode:
authorchillaranand <anand21nanda@gmail.com>2017-01-21 18:43:44 +0530
committerTim Graham <timograham@gmail.com>2017-01-25 12:23:46 -0500
commitd6eaf7c0183cd04b78f2a55e1d60bb7e59598310 (patch)
treeab02fd9949d4bfa23e27dea45e213ce334c883f0 /django/db/backends/utils.py
parentdc165ec8e5698ffc6dee6b510f1f92c9fd7467fe (diff)
Refs #23919 -- Replaced super(ClassName, self) with super().
Diffstat (limited to 'django/db/backends/utils.py')
-rw-r--r--django/db/backends/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/backends/utils.py b/django/db/backends/utils.py
index 3baff0d3d5..5da4e04478 100644
--- a/django/db/backends/utils.py
+++ b/django/db/backends/utils.py
@@ -74,7 +74,7 @@ class CursorDebugWrapper(CursorWrapper):
def execute(self, sql, params=None):
start = time()
try:
- return super(CursorDebugWrapper, self).execute(sql, params)
+ return super().execute(sql, params)
finally:
stop = time()
duration = stop - start
@@ -91,7 +91,7 @@ class CursorDebugWrapper(CursorWrapper):
def executemany(self, sql, param_list):
start = time()
try:
- return super(CursorDebugWrapper, self).executemany(sql, param_list)
+ return super().executemany(sql, param_list)
finally:
stop = time()
duration = stop - start