aboutsummaryrefslogtreecommitdiffstats
path: root/github3/handlers/base.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-11-01 19:24:15 +0100
committerDavid Medina <davidmedina9@gmail.com>2011-11-01 19:24:15 +0100
commit15b7cc0fe44d02a9f2271041cd69140d63279ff1 (patch)
treefa4859ef83008c382cfee7cef9ba0f4fc81442c1 /github3/handlers/base.py
parentFix bug. PEP8 (diff)
downloadpython-github3-15b7cc0fe44d02a9f2271041cd69140d63279ff1.tar.xz
python-github3-15b7cc0fe44d02a9f2271041cd69140d63279ff1.zip
Fix names. Added raw request
Think about return user handler more elegant
Diffstat (limited to 'github3/handlers/base.py')
-rw-r--r--github3/handlers/base.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/github3/handlers/base.py b/github3/handlers/base.py
index 93a4680..3bd4bd1 100644
--- a/github3/handlers/base.py
+++ b/github3/handlers/base.py
@@ -13,6 +13,10 @@ class Handler(object):
def _extend_url(self, *args):
return self._url + args
+ def _get_raw(self, *args, **kwargs):
+ url = self._extend_url(*args)
+ return self._gh._get_raw(url, **kwargs)
+
def _get_resource(self, *args, **kwargs):
url = self._extend_url(*args)
map_model = kwargs.get('model', self._model)