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}