aboutsummaryrefslogtreecommitdiffstats
path: root/github3/handlers/base.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-11-16 01:55:57 +0100
committerDavid Medina <davidmedina9@gmail.com>2011-11-16 01:55:57 +0100
commit437b7a6b9623bc4670de3c2e370d671ced0bc5c8 (patch)
tree19c0d1ff229e6d4ca71d8167df5fc38b474502f2 /github3/handlers/base.py
parentFix 411 with PUT request (diff)
downloadpython-github3-437b7a6b9623bc4670de3c2e370d671ced0bc5c8.tar.xz
python-github3-437b7a6b9623bc4670de3c2e370d671ced0bc5c8.zip
Wip on AuthUser handler tests
Also "python way" with Design by contract
Diffstat (limited to '')
-rw-r--r--github3/handlers/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/github3/handlers/base.py b/github3/handlers/base.py
index c27b80c..0b3fa8a 100644
--- a/github3/handlers/base.py
+++ b/github3/handlers/base.py
@@ -15,7 +15,7 @@ class Handler(object):
def _prefix_resource(self, resource):
prefix = getattr(self, 'prefix', '')
- return '/'.join((prefix, resource)).strip('/')
+ return '/'.join((prefix, str(resource))).strip('/')
def _get_converter(self, **kwargs):
converter = kwargs.get(