summaryrefslogtreecommitdiff
path: root/django/db/backends/utils.py
diff options
context:
space:
mode:
authorSimon Charette <charettes@users.noreply.github.com>2017-01-19 02:39:46 -0500
committerClaude Paroz <claude@2xlibre.net>2017-01-19 08:39:46 +0100
commitcecc079168e8669138728d31611ff3a1e7eb3a9f (patch)
tree2415083d44f84c6f206930fc689a8c0e50a98caa /django/db/backends/utils.py
parenta5563963397aeee30c32e3c1dab31bfe453ca89f (diff)
downloaddjango-cecc079168e8669138728d31611ff3a1e7eb3a9f.tar.gz
Refs #23919 -- Stopped inheriting from object to define new style classes.
Diffstat (limited to 'django/db/backends/utils.py')
-rw-r--r--django/db/backends/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/utils.py b/django/db/backends/utils.py
index b72840e989..f6cb59a086 100644
--- a/django/db/backends/utils.py
+++ b/django/db/backends/utils.py
@@ -11,7 +11,7 @@ from django.utils.timezone import utc
logger = logging.getLogger('django.db.backends')
-class CursorWrapper(object):
+class CursorWrapper:
def __init__(self, cursor, db):
self.cursor = cursor
self.db = db