comparison piecrust/data/iterators.py @ 242:f130365568ff

internal: Code reorganization to put less stuff in `sources.base`. Interfaces that sources can implement are in `sources.interfaces`. The default page source is in `sources.default`. The `SimplePageSource` is gone since most subclasses only wanted to do *some* stuff the same, but *lots* of stuff slightly different. I may have to revisit the code to extract exactly the code that's in common.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 18 Feb 2015 18:35:03 -0800
parents 4379d8f8f831
children 8c0c53a315ae
comparison
equal deleted inserted replaced
241:85a6c7ba5e3b 242:f130365568ff
1 import logging 1 import logging
2 from piecrust.data.base import IPaginationSource
3 from piecrust.data.filters import PaginationFilter 2 from piecrust.data.filters import PaginationFilter
4 from piecrust.events import Event 3 from piecrust.events import Event
4 from piecrust.sources.interfaces import IPaginationSource
5 5
6 6
7 logger = logging.getLogger(__name__) 7 logger = logging.getLogger(__name__)
8 8
9 9