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:
parent
f8b98f0edc
commit
77609f922e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user