From 5a3cb68a1aefac26d5c2d48ac5b665c4874d3319 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 19 Oct 2011 03:45:02 -0400 Subject: 100 items at a time --- github3/api.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'github3') 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) -- cgit v1.3-8-gc7d7