Skip to content

Commit 1836ee6

Browse files
committed
PEP8 and renaming
1 parent b289022 commit 1836ee6

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

github3/core.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44
# author: David Medina
55

6+
67
class Paginate:
78
""" Paginate resource iterator
89
@@ -33,7 +34,10 @@ def __iter__(self):
3334
return self
3435

3536
def initial(self):
36-
""" First request. Force requester to paginate returning link header """
37+
"""
38+
First request
39+
Force requester to paginate returning link header
40+
"""
3741
link, content = self.requester(self.resource, paginate=True,
3842
page=1, **self.kwargs)
3943
self.last = self._last_page(link) if link else 1
@@ -53,6 +57,7 @@ def next(self):
5357
self.page += 1
5458
return content
5559

60+
5661
class Converter(object):
5762
""" Abstract converter class """
5863

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# -*- encoding: utf-8 -*-
33

44
from unittest import TestCase
5-
import github3
65
from github3 import api
76
from github3 import handlers
87

0 commit comments

Comments
 (0)