Skip to content

Commit 1b54c7f

Browse files
authored
Merge pull request #2715 from ATR-oCiTy/master
Fixed issue #2680 and Simple typo rectified
2 parents 6400eba + 2c0b209 commit 1b54c7f

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

dvc/remote/s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def _copy(cls, s3, from_info, to_info, extra_args):
144144
# multipart.
145145
#
146146
# If an object's etag looks like '8978c98bb5a48c2fb5f2c4c905768afa',
147-
# then it was transfered as a single part, which means that the chunk
147+
# then it was transferred as a single part, which means that the chunk
148148
# size used to transfer it was greater or equal to the ContentLength
149149
# of that object. So to preserve that tag over the next transfer, we
150150
# could use any value >= ContentLength.

dvc/updater.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ def _get_update_instructions(self):
123123
"yum": "Run {yellow}yum{reset} update dvc",
124124
"yay": "Run {yellow}yay{reset} {blue}-S{reset} dvc",
125125
"formula": "Run {yellow}brew{reset} upgrade dvc",
126-
"cask": "Run {yellow}brew cask{reset} upgrade dvc",
127126
"apt": (
128127
"Run {yellow}apt-get{reset} install"
129128
" {blue}--only-upgrade{reset} dvc"
@@ -169,14 +168,6 @@ def _get_darwin(self):
169168
return "formula"
170169
else:
171170
return "pip"
172-
173-
# NOTE: both pkg and cask put dvc binary into /usr/local/bin,
174-
# so in order to know which method of installation was used,
175-
# we need to actually call `brew cask`
176-
ret = os.system("brew cask ls dvc")
177-
if ret == 0:
178-
return "cask"
179-
180171
return None
181172

182173
def _get_windows(self):

0 commit comments

Comments
 (0)