From 6a793d1788a243c1b1a4b6bb39dbbebdc6bff4f1 Mon Sep 17 00:00:00 2001 From: Srinivas Reddy Thatiparthy Date: Mon, 7 Aug 2017 19:41:54 +0530 Subject: [PATCH] Removed unnecessary assignment in Oracle's FormatStylePlaceholderCursor._fix_for_params(). Obsolete since fae56427e1987ff8c8bd24d6331007f9c53e7abc. --- django/db/backends/oracle/base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/db/backends/oracle/base.py b/django/db/backends/oracle/base.py index 4346a5d2a6..b13bab1798 100644 --- a/django/db/backends/oracle/base.py +++ b/django/db/backends/oracle/base.py @@ -472,7 +472,6 @@ class FormatStylePlaceholderCursor: query = query[:-1] if params is None: params = [] - query = query elif hasattr(params, 'keys'): # Handle params as dict args = {k: ":%s" % k for k in params}