From 77609f922e965b0df9db175b13389068529d3c6f Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Sun, 11 Feb 2018 22:27:36 +0100 Subject: [PATCH] Removed unused args in Index.clone(). --- django/db/models/indexes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/db/models/indexes.py b/django/db/models/indexes.py index b601d98492a..9bfb9e05584 100644 --- a/django/db/models/indexes.py +++ b/django/db/models/indexes.py @@ -69,8 +69,8 @@ class Index: def clone(self): """Create a copy of this Index.""" - path, args, kwargs = self.deconstruct() - return self.__class__(*args, **kwargs) + _, _, kwargs = self.deconstruct() + return self.__class__(**kwargs) @staticmethod def _hash_generator(*args):