Fix bitbucker lister: request_uri expect 'identifier' to be a date
which it won't be when the lister is called for the first time (since the run() method will be be called with min_bond=None in this case).
This commit is contained in:
parent
4fc1968f1f
commit
028ceca90d
1 changed files with 3 additions and 0 deletions
|
@ -35,3 +35,6 @@ class BitBucketLister(SWHIndexingHttpLister):
|
|||
def transport_response_simplified(self, response):
|
||||
repos = response.json()['values']
|
||||
return [self.get_model_from_repo(repo) for repo in repos]
|
||||
|
||||
def request_uri(self, identifier):
|
||||
return super().request_uri(identifier or '1970-01-01')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue