aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/core/client.py
diff options
context:
space:
mode:
authorNat Williams <nwilliams@leapfrogonline.com>2012-04-17 17:35:31 -0500
committerNat Williams <nwilliams@leapfrogonline.com>2012-04-17 17:35:31 -0500
commit4539f80aa44e500422c5071d8e3d74de321b6225 (patch)
tree2efa8b3e2eaa19de229209b6d316e098944399d2 /pygithub3/core/client.py
parentmore specific exception for missing Request classes (diff)
downloadpython-github3-4539f80aa44e500422c5071d8e3d74de321b6225.tar.xz
python-github3-4539f80aa44e500422c5071d8e3d74de321b6225.zip
add pull request API
there are a few little issues remaining. Mostly regarding handling meaningful non-20x response codes
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 ee7c97f..eadb18e 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)
- assert response.status_code == 200
+ # there are valid GET responses that != 200
return response
def post(self, request, **kwargs):