phabricator: fix the FullPhabricatorLister task
forgot the forge_url -> api_baseurl renaming in there.
This commit is contained in:
parent
8785fc1a4e
commit
342964eda7
1 changed files with 1 additions and 8 deletions
|
@ -6,16 +6,9 @@ from swh.scheduler.celery_backend.config import app
|
|||
from swh.lister.phabricator.lister import PhabricatorLister
|
||||
|
||||
|
||||
def new_lister(forge_url='https://forge.softwareheritage.org', instance='swh',
|
||||
api_token=None, **kw):
|
||||
return PhabricatorLister(
|
||||
forge_url=forge_url, instance=instance, api_token=api_token, **kw)
|
||||
|
||||
|
||||
@app.task(name=__name__ + '.FullPhabricatorLister')
|
||||
def full_phabricator_lister(**lister_args):
|
||||
lister = new_lister(**lister_args)
|
||||
lister.run()
|
||||
PhabricatorLister(**lister_args).run()
|
||||
|
||||
|
||||
@app.task(name=__name__ + '.ping')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue