1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Removed unused args in Index.clone().

This commit is contained in:
Mads Jensen 2018-02-11 22:27:36 +01:00 committed by Tim Graham
parent f8b98f0edc
commit 77609f922e

View File

@ -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):