aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-12 23:37:11 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-12 23:37:11 +0100
commitccbfd48f42103de18eb60e99340de3a27e49447f (patch)
treeb4f10446e70137201280e590ed1fada069e4bb71
parentRepos service initialized (diff)
downloadpython-github3-ccbfd48f42103de18eb60e99340de3a27e49447f.tar.xz
python-github3-ccbfd48f42103de18eb60e99340de3a27e49447f.zip
Fix bug of bug related
-rw-r--r--pygithub3/services/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygithub3/services/base.py b/pygithub3/services/base.py
index c659470..3c81f84 100644
--- a/pygithub3/services/base.py
+++ b/pygithub3/services/base.py
@@ -62,7 +62,7 @@ class Base(object):
"""
input_data = request.get_body() or ''
response = self._client.put(request, data=input_data, **kwargs)
- if response.status_code != '204': # != NO_CONTENT
+ if response.status_code != 204: # != NO_CONTENT
return request.resource.loads(response.content)
def _delete(self, request, **kwargs):