-
- Downloads
tasks: normalize the url argument name of most lister
Since all the listing tasks accepts an url as first argument (whatever the argument name is), it makes sense to use a simple common argument name for this. I've chosen 'url' instead of api_baseurl/forge_url/url. Also kill now useless `new_lister()` functions.
Showing
- swh/lister/bitbucket/lister.py 2 additions, 3 deletionsswh/lister/bitbucket/lister.py
- swh/lister/bitbucket/tasks.py 3 additions, 7 deletionsswh/lister/bitbucket/tasks.py
- swh/lister/bitbucket/tests/test_tasks.py 3 additions, 6 deletionsswh/lister/bitbucket/tests/test_tasks.py
- swh/lister/cli.py 1 addition, 1 deletionswh/lister/cli.py
- swh/lister/core/indexing_lister.py 2 additions, 2 deletionsswh/lister/core/indexing_lister.py
- swh/lister/core/lister_transports.py 10 additions, 10 deletionsswh/lister/core/lister_transports.py
- swh/lister/core/page_by_page_lister.py 2 additions, 2 deletionsswh/lister/core/page_by_page_lister.py
- swh/lister/core/tests/test_lister.py 1 addition, 1 deletionswh/lister/core/tests/test_lister.py
- swh/lister/debian/lister.py 1 addition, 1 deletionswh/lister/debian/lister.py
- swh/lister/github/tasks.py 3 additions, 7 deletionsswh/lister/github/tasks.py
- swh/lister/github/tests/test_tasks.py 3 additions, 3 deletionsswh/lister/github/tests/test_tasks.py
- swh/lister/gitlab/lister.py 3 additions, 4 deletionsswh/lister/gitlab/lister.py
- swh/lister/gitlab/tasks.py 3 additions, 10 deletionsswh/lister/gitlab/tasks.py
- swh/lister/gitlab/tests/test_tasks.py 5 additions, 13 deletionsswh/lister/gitlab/tests/test_tasks.py
- swh/lister/npm/lister.py 3 additions, 4 deletionsswh/lister/npm/lister.py
- swh/lister/npm/tasks.py 1 addition, 1 deletionswh/lister/npm/tasks.py
- swh/lister/phabricator/lister.py 3 additions, 4 deletionsswh/lister/phabricator/lister.py
- swh/lister/phabricator/tests/test_lister.py 2 additions, 3 deletionsswh/lister/phabricator/tests/test_lister.py
- swh/lister/tests/test_cli.py 9 additions, 9 deletionsswh/lister/tests/test_cli.py
Loading
Please register or sign in to comment