Changeset View
Changeset View
Standalone View
Standalone View
swh/lister/core/simple_lister.py
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | def run(self): | ||||
Returns: | Returns: | ||||
nothing | nothing | ||||
""" | """ | ||||
dump_not_used_identifier = 0 | dump_not_used_identifier = 0 | ||||
response, injected_repos = self.ingest_data(dump_not_used_identifier) | response, injected_repos = self.ingest_data(dump_not_used_identifier) | ||||
if not response and not injected_repos: | if not response and not injected_repos: | ||||
logging.info('No response from api server, stopping') | logging.info('No response from api server, stopping') | ||||
status = 'uneventful' | |||||
else: | |||||
status = 'eventful' | |||||
return {'status': status} |