Page MenuHomeSoftware Heritage

Fix bitbucker lister: min_bound must be a date
ClosedPublic

Authored by douardda on Jan 14 2019, 12:13 PM.

Details

Summary

which it won't be when the lister is called for the first time (will be
None in this case).

Depends on D938

Diff Detail

Repository
rDLS Listers
Branch
tasks-forever
Lint
Lint Skipped
Unit
Unit Tests Skipped
Build Status
Buildable 3505
Build 4536: tox-on-jenkinsJenkins
Build 4535: arc lint + arc unit

Event Timeline

vlorentz added a subscriber: vlorentz.

Another way is to override request_uri:

def request_uri(self, identifier):
    return super().request_uri(identifier or '1970-01-01')
This revision is now accepted and ready to land.Jan 14 2019, 1:16 PM

Another way is to override request_uri:

def request_uri(self, identifier):
    return super().request_uri(identifier or '1970-01-01')

I guess this solution makes sense indeed

follow vlorentz' advice: overload the request_uri method

This revision was automatically updated to reflect the committed changes.