aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/core/ghrequests/__init__.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-05 12:38:00 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-05 13:10:44 +0100
commit5cc1ce177fa52b7156dcf72176cb3be00108f58e (patch)
tree4fbf975258506657f2a559c2bc664ac18590b70d /pygithub3/core/ghrequests/__init__.py
parentComplete skeleton of services glueing to requests (diff)
downloadpython-github3-5cc1ce177fa52b7156dcf72176cb3be00108f58e.tar.xz
python-github3-5cc1ce177fa52b7156dcf72176cb3be00108f58e.zip
User service complete
User.emails User.keys User.followers
Diffstat (limited to 'pygithub3/core/ghrequests/__init__.py')
-rw-r--r--pygithub3/core/ghrequests/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygithub3/core/ghrequests/__init__.py b/pygithub3/core/ghrequests/__init__.py
index b4faae5..c461bec 100644
--- a/pygithub3/core/ghrequests/__init__.py
+++ b/pygithub3/core/ghrequests/__init__.py
@@ -60,7 +60,7 @@ class Request(object):
update_params = {
valid_key: to_parse[valid_key]
for valid_key in self.valid
- if to_parse.has_key(valid_key)}
+ if valid_key in to_parse}
return update_params
@@ -71,7 +71,7 @@ class Factory(object):
def __init__(self):
""" """
- self.args = {}
+ self.args = {}
def config_with(self, **kwargs):
self.args = kwargs