Skip to content

Commit 3ef0e1f

Browse files
committed
flake8 fixes
all tests still pass
1 parent 403ddb8 commit 3ef0e1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flask_sqlalchemy/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from sqlalchemy.orm.session import Session as SessionBase
3030

3131
from flask_sqlalchemy.model import Model
32-
from ._compat import itervalues, string_types, to_str, xrange
32+
from ._compat import itervalues, string_types, xrange
3333
from .model import DefaultMeta
3434

3535
__version__ = '2.3.2'
@@ -395,7 +395,7 @@ def iter_pages(self, left_edge=2, left_current=2,
395395
last = 0
396396
for num in xrange(1, self.pages + 1):
397397
if num <= left_edge or \
398-
(num > self.page - left_current - 1 and \
398+
(num > self.page - left_current - 1 and
399399
num < self.page + right_current) or \
400400
num > self.pages - right_edge:
401401
if last + 1 != num:

0 commit comments

Comments
 (0)