mirror of
https://github.com/Hopiu/django.git
synced 2026-05-13 10:03:09 +00:00
Removed unused args in Index.clone().
This commit is contained in:
parent
f8b98f0edc
commit
77609f922e
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue