Changeset View
Changeset View
Standalone View
Standalone View
swh/lister/core/indexing_lister.py
Show First 20 Lines • Show All 239 Lines • ▼ Show 20 Lines | def run(self, min_bound=None, max_bound=None): | ||||
self.db_session.commit() | self.db_session.commit() | ||||
self.db_session = self.mk_session() | self.db_session = self.mk_session() | ||||
class IndexingHttpLister(ListerHttpTransport, IndexingLister): | class IndexingHttpLister(ListerHttpTransport, IndexingLister): | ||||
"""Convenience class for ensuring right lookup and init order | """Convenience class for ensuring right lookup and init order | ||||
when combining IndexingLister and ListerHttpTransport.""" | when combining IndexingLister and ListerHttpTransport.""" | ||||
def __init__(self, api_baseurl=None, override_config=None): | def __init__(self, api_baseurl=None, override_config=None): | ||||
ListerHttpTransport.__init__(self, api_baseurl=api_baseurl) | |||||
IndexingLister.__init__(self, override_config=override_config) | IndexingLister.__init__(self, override_config=override_config) | ||||
ListerHttpTransport.__init__(self, api_baseurl=api_baseurl) |