Skip to content
Snippets Groups Projects
Commit 206ac680 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

pagure/tasks: Add missing docstring for list_pagure task function

Missing docstring prevents the task type to be registered in scheduler
database.
parent c81c473a
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ from .lister import PagureLister
@shared_task(name=__name__ + ".PagureListerTask")
def list_pagure(**lister_args) -> Dict[str, int]:
"List git repositories hosted on a pagure forge."
lister = PagureLister.from_configfile(**lister_args)
return lister.run().dict()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment