diff options
author | Baudouin Raoult <baudouin.raoult@ecmwf.int> | 2018-06-09 18:31:17 +0800 |
---|---|---|
committer | Baudouin Raoult <baudouin.raoult@ecmwf.int> | 2018-06-09 18:31:17 +0800 |
commit | 09d9ae1b56cfb1dbaa625cbcaef24eefb0166127 (patch) | |
tree | ba0c62cc85e79b853da1b1b3ecd86eeae7e40f05 /cdsapi | |
parent | cedae39716587fcc0459a05e74acc43b190d7457 (diff) |
login
Diffstat (limited to 'cdsapi')
-rw-r--r-- | cdsapi/api.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cdsapi/api.py b/cdsapi/api.py index c942612..662dec9 100644 --- a/cdsapi/api.py +++ b/cdsapi/api.py @@ -104,11 +104,6 @@ class Result(object): self.content_type, self.location) - def __enter__(self): - - r = self.robust(requests.get)(self.location, stream=True, verify=self.verify) - r.raise_for_status() - def check(self): self.debug("HEAD %s", self.reply['location']) metadata = self.robust(self.session.head)(self.reply['location'], |