diff options
| author | 2011-11-16 01:55:57 +0100 | |
|---|---|---|
| committer | 2011-11-16 01:55:57 +0100 | |
| commit | 437b7a6b9623bc4670de3c2e370d671ced0bc5c8 (patch) | |
| tree | 19c0d1ff229e6d4ca71d8167df5fc38b474502f2 /github3/handlers/base.py | |
| parent | Fix 411 with PUT request (diff) | |
| download | python-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.py | 2 |
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( |
