diff options
author | 2012-04-28 00:19:49 +0200 | |
---|---|---|
committer | 2012-04-28 22:35:30 +0200 | |
commit | 1b1ccd6b86740157b2529614945a218d73049f4a (patch) | |
tree | 970b2dc73302268a8c0964e34d9b38aa1643d0d6 /pygithub3/services/base.py | |
parent | Merged pull request #3 from natw/git_data (diff) | |
download | python-github3-1b1ccd6b86740157b2529614945a218d73049f4a.tar.xz python-github3-1b1ccd6b86740157b2529614945a218d73049f4a.zip |
Litle fixs
Diffstat (limited to 'pygithub3/services/base.py')
-rw-r--r-- | pygithub3/services/base.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pygithub3/services/base.py b/pygithub3/services/base.py index 886a666..1059371 100644 --- a/pygithub3/services/base.py +++ b/pygithub3/services/base.py @@ -80,6 +80,12 @@ class Service(object): """ self._client.set_token(token) + #TODO: Refact as decorator:: + """ + Reason: make_request and request_builder ... are confusing names + @precedence('user') + def list(self, sha, user=None): + """ def make_request(self, request, **kwargs): if 'user' in kwargs: kwargs['user'] = kwargs['user'] or self.get_user() @@ -146,6 +152,7 @@ class Service(object): return normal.Result(method) +# XXX: Refact to set_<type> method class MimeTypeMixin(object): """ Mimetype support to Services |