Details
Diff Detail
- Repository
- rDSTO Storage manager
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/105/ for more details.
swh/storage/storage.py | ||
---|---|---|
226 | s/function/generator/ Also are you sure about your assertion there? In *this* implementation at least, it does not seems correct. Reading this code (and especially the fact it may generate None values), it looks to me that the intention was that this generator always generates as many values as was given in the content parameter (not sure why nor if it is needed somewhere, instead of of not yielding None values, but that's another fine-tune-API debate). |
- fix doc
swh/storage/storage.py | ||
---|---|---|
226 |
Oops, indeed. I updated the docstring to mention that for now it returns exactly as many items, but that it may change in the future. | |
267 | Ugh, I don't know why I wrote this. And that's not even a generator. |
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/108/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DSTO/job/tox/109/ for more details.
swh/storage/storage.py | ||
---|---|---|
265 | I believe it's true only because of the sha1 collision case (identifiers are sha1 ids). |
swh/storage/storage.py | ||
---|---|---|
265 | Yup, that's what I meant. I believe that's worth mentioning. |