aboutsummaryrefslogtreecommitdiffstats
path: root/github3/handlers/users.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-11-13 22:32:42 +0100
committerDavid Medina <davidmedina9@gmail.com>2011-11-13 22:32:42 +0100
commit43843a91b0dfc86e588aa149211ce4aff949b4f6 (patch)
tree6a2c3207fb2714ad2b3ab4c2afebd13b5141f2ab /github3/handlers/users.py
parentExplicit > implicit (diff)
downloadpython-github3-43843a91b0dfc86e588aa149211ce4aff949b4f6.tar.xz
python-github3-43843a91b0dfc86e588aa149211ce4aff949b4f6.zip
Fix bug. Instance converter in handler base
Diffstat (limited to 'github3/handlers/users.py')
-rw-r--r--github3/handlers/users.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/github3/handlers/users.py b/github3/handlers/users.py
index 2f526f9..1f0340b 100644
--- a/github3/handlers/users.py
+++ b/github3/handlers/users.py
@@ -119,7 +119,7 @@ class AuthUser(User):
""" Return list of emails """
# Ignore converter, it must be Rawlizer
- emails = self._get_resource('emails', converter=Rawlizer())
+ emails = self._get_resource('emails', converter=Rawlizer)
return emails
def create_emails(self, *args):
@@ -131,7 +131,7 @@ class AuthUser(User):
"""
parsed_emails = map(str, args)
all_mails = self._post_resource(
- 'emails', data=parsed_emails, converter=Rawlizer())
+ 'emails', data=parsed_emails, converter=Rawlizer)
return all_mails
def delete_emails(self, *args):