From e26517ec36b43c7682e7b9b17acb048532996bb1 Mon Sep 17 00:00:00 2001 From: ATR-oCiTy Date: Sun, 3 Nov 2019 15:04:42 +0530 Subject: [PATCH 1/2] Simple typos mectified --- dvc/remote/s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/remote/s3.py b/dvc/remote/s3.py index 169aee3ba9..bd875c1c0a 100644 --- a/dvc/remote/s3.py +++ b/dvc/remote/s3.py @@ -144,7 +144,7 @@ def _copy(cls, s3, from_info, to_info, extra_args): # multipart. # # If an object's etag looks like '8978c98bb5a48c2fb5f2c4c905768afa', - # then it was transfered as a single part, which means that the chunk + # then it was transferred as a single part, which means that the chunk # size used to transfer it was greater or equal to the ContentLength # of that object. So to preserve that tag over the next transfer, we # could use any value >= ContentLength. From 2c0b209e380494cc15cbd9e22058311ca994e5df Mon Sep 17 00:00:00 2001 From: ATR-oCiTy Date: Sun, 3 Nov 2019 15:25:30 +0530 Subject: [PATCH 2/2] Rectified install: Cask 'dvc' is not installed. error #2680 --- dvc/updater.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dvc/updater.py b/dvc/updater.py index 21251e4dab..18625029f7 100644 --- a/dvc/updater.py +++ b/dvc/updater.py @@ -123,7 +123,6 @@ def _get_update_instructions(self): "yum": "Run {yellow}yum{reset} update dvc", "yay": "Run {yellow}yay{reset} {blue}-S{reset} dvc", "formula": "Run {yellow}brew{reset} upgrade dvc", - "cask": "Run {yellow}brew cask{reset} upgrade dvc", "apt": ( "Run {yellow}apt-get{reset} install" " {blue}--only-upgrade{reset} dvc" @@ -169,14 +168,6 @@ def _get_darwin(self): return "formula" else: return "pip" - - # NOTE: both pkg and cask put dvc binary into /usr/local/bin, - # so in order to know which method of installation was used, - # we need to actually call `brew cask` - ret = os.system("brew cask ls dvc") - if ret == 0: - return "cask" - return None def _get_windows(self):