From be0851d5f817f13ea089b972f5e51e1a14e15a9a Mon Sep 17 00:00:00 2001 From: timwis Date: Sun, 22 Nov 2015 17:57:07 -0500 Subject: [PATCH] remove whitespace, remove limitation in readme.md --- README.md | 3 --- sodapy/__init__.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 6c51eb2..4320f5f 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,3 @@ Wrap up when you're finished. ## Run tests $ ./runtests tests/ - -## TODO and known issues -- Currently, the client does not support dataset creation. A new import API is under construction, and being tracked [here](https://github.com/socrata/soda-ruby/issues/13). diff --git a/sodapy/__init__.py b/sodapy/__init__.py index 2755087..6a90f3c 100644 --- a/sodapy/__init__.py +++ b/sodapy/__init__.py @@ -232,7 +232,7 @@ def _perform_request(self, request_type, resource, **kwargs): kwargs["timeout"] = 10 response = getattr(self.session, request_type)(uri, **kwargs) - + # handle errors if response.status_code not in (200, 202): _raise_for_status(response)