mirror of https://github.com/django/django.git
Removed unused args in Index.clone().
This commit is contained in:
parent
f8b98f0edc
commit
77609f922e
|
@ -69,8 +69,8 @@ class Index:
|
||||||
|
|
||||||
def clone(self):
|
def clone(self):
|
||||||
"""Create a copy of this Index."""
|
"""Create a copy of this Index."""
|
||||||
path, args, kwargs = self.deconstruct()
|
_, _, kwargs = self.deconstruct()
|
||||||
return self.__class__(*args, **kwargs)
|
return self.__class__(**kwargs)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _hash_generator(*args):
|
def _hash_generator(*args):
|
||||||
|
|
Loading…
Reference in New Issue