Skip to content

Commit

Permalink
[tmp] re: gh-3210
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleam committed Mar 8, 2019
1 parent 4842edc commit 1291017
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions datalad/downloaders/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,6 @@ def _fetch(self, url, cache=None, size=None, allow_redirects=True):
#pbar.finish()
downloaded_size = len(content)

# now that we know size based on encoded content, let's decode into string type
if PY3 and isinstance(content, binary_type):
content = content.decode()
# downloaded_size = os.stat(temp_filepath).st_size

self._verify_download(url, downloaded_size, target_size, None, content=content)

except (AccessDeniedError, IncompleteDownloadError) as e:
Expand Down

0 comments on commit 1291017

Please sign in to comment.