Kaydet (Commit) 77609f92 authored tarafından Mads Jensen's avatar Mads Jensen Kaydeden (comit) Tim Graham

Removed unused args in Index.clone().

üst f8b98f0e
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment