Skip to content

Commit

Permalink
change method override to call super instead of repeating the calls
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitarTodorovIdentrics authored and efiop committed Nov 15, 2021
1 parent 2f6b6cc commit fdba79c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dvc/fs/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,4 @@ def put_file(
**kwargs,
) -> None:
kwargs.setdefault("method", self.upload_method)
self.fs.put_file(from_file, to_info, callback=callback, **kwargs)
self.fs.invalidate_cache(self.path.parent(to_info))
super().put_file(from_file, to_info, callback=callback, **kwargs)

0 comments on commit fdba79c

Please sign in to comment.