diff options
author | 2011-10-19 03:45:02 -0400 | |
---|---|---|
committer | 2011-10-19 03:45:02 -0400 | |
commit | 5a3cb68a1aefac26d5c2d48ac5b665c4874d3319 (patch) | |
tree | b9de3a8b6f2b653df14f84b2a49dfe5a06f7c105 | |
parent | requests v0.6.6 (diff) | |
download | python-github3-5a3cb68a1aefac26d5c2d48ac5b665c4874d3319.tar.xz python-github3-5a3cb68a1aefac26d5c2d48ac5b665c4874d3319.zip |
100 items at a time
-rw-r--r-- | github3/api.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/github3/api.py b/github3/api.py index 00a6db8..a36d753 100644 --- a/github3/api.py +++ b/github3/api.py @@ -71,14 +71,14 @@ class GithubCore(object): def _http_resource(self, verb, endpoint, params=None, **etc): url = self._generate_url(endpoint) - # print self.session.__dict__ args = (verb, url) - kwargs = {'params': params} - kwargs.update(etc) - - print self.session.__dict__ + if params: + kwargs = {'params': params} + kwargs.update(etc) + else: + kwargs = etc r = self.session.request(*args, **kwargs) r = self._requests_post_hook(r) |