lister/tasks: Standardize return statements
The following commit adapts the return statements from both lister and their associated tasks. This standardizes on what other modules (e.g. both dvcs and package loaders) do.
This commit is contained in:
parent
ff7fdf24db
commit
4a9608f31c
15 changed files with 42 additions and 21 deletions
|
@ -10,7 +10,7 @@ from .lister import PyPILister
|
|||
@shared_task(name=__name__ + '.PyPIListerTask')
|
||||
def list_pypi(**lister_args):
|
||||
'Full update of the PyPI (python) registry'
|
||||
PyPILister(**lister_args).run()
|
||||
return PyPILister(**lister_args).run()
|
||||
|
||||
|
||||
@shared_task(name=__name__ + '.ping')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue