8000 Keeping up with the octocats. · palfrey/github3.py@55a36b7 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit 55a36b7

Browse files
committed
Keeping up with the octocats.
github/developer.github.com@8441801
1 parent 37698db commit 55a36b7

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

TODO.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ High priority
66

77
(In order of priority)
88

9+
requests 1.x
10+
~~~~~~~~~~~~
11+
12+
Upgrade to requests 1.x
13+
914
unittests
1015
~~~~~~~~~
1116

@@ -28,8 +33,8 @@ Low priority
2833

2934
(In order of priority)
3035

31-
logging
32-
~~~~~~~
36+
logging -- Planned
37+
~~~~~~~~~~~~~~~~~~
3338

3439
I need to determine if there is a desire for logging and where it would be
3540
most useful. I would probably take a cue from urllib3 in this instance.

github3/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def iter_emails(self, number=-1):
367367
:returns: generator of dicts
368368
"""
369369
url = self._build_url('user', 'emails')
370-
return self._iter(int(number), url, str)
370+
return self._iter(int(number), url, dict)
371371

372372
def iter_events(self, number=-1):
373373
"""Iterate over public events.

0 commit comments

Comments
 (0)
0