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.
This commit is contained in:
parent
631b8e7668
commit
b810876ef8
19 changed files with 60 additions and 91 deletions
|
@ -35,7 +35,7 @@ class DebianLister(ListerHttpTransport, ListerBase):
|
|||
instance = 'debian'
|
||||
|
||||
def __init__(self, override_config=None):
|
||||
ListerHttpTransport.__init__(self, api_baseurl="bogus")
|
||||
ListerHttpTransport.__init__(self, url="notused")
|
||||
ListerBase.__init__(self, override_config=override_config)
|
||||
|
||||
def transport_request(self, identifier):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue