aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/core/client.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-05-12 19:04:23 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-05-12 22:47:09 +0200
commit24a3ed5dcd2264a64e234ea7bd526049fafe7616 (patch)
tree6131f221a9bf9b596dc139715d4e79f090bb55c3 /pygithub3/core/client.py
parentDeleted 'dispatch' decorator. No sense (diff)
downloadpython-github3-24a3ed5dcd2264a64e234ea7bd526049fafe7616.tar.xz
python-github3-24a3ed5dcd2264a64e234ea7bd526049fafe7616.zip
Some fixes/typos and 'validate_body' related
Diffstat (limited to 'pygithub3/core/client.py')
-rw-r--r--pygithub3/core/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygithub3/core/client.py b/pygithub3/core/client.py
index eadb18e..ee7c97f 100644
--- a/pygithub3/core/client.py
+++ b/pygithub3/core/client.py
@@ -81,7 +81,7 @@ class Client(object):
def get(self, request, **kwargs):
response = self.request('get', request, **kwargs)
- # there are valid GET responses that != 200
+ assert response.status_code == 200
return response
def post(self, request, **kwargs):