diff options
author | Baudouin Raoult <baudouin.raoult@ecmwf.int> | 2018-05-12 16:48:36 +0100 |
---|---|---|
committer | Baudouin Raoult <baudouin.raoult@ecmwf.int> | 2018-05-12 16:48:36 +0100 |
commit | a326de56227dc90b69ad46785d02eb841e2d0335 (patch) | |
tree | 151b9624a0715d502c4feb14d133aab9e6de629e /cdsapi | |
parent | 0482ea3f08a91abc57bdba8e3ccfe10b5f0d3761 (diff) |
Tidy
Diffstat (limited to 'cdsapi')
-rw-r--r-- | cdsapi/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdsapi/api.py b/cdsapi/api.py index f8517ac..40512de 100644 --- a/cdsapi/api.py +++ b/cdsapi/api.py @@ -197,7 +197,7 @@ class Client(object): if n.strip() == '' and not self.full_stack: break self.logger.error(' %s' % (n,)) - raise Exception(reply['error'].get('reason'),) + raise Exception(reply['error'].get('reason')) raise Exception('Unknown API state [%s]' % (reply['state'],)) |