Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py3: Fix status comparison in ECGetResponseCollection
The initial dummy bad bucket was previously stored using None as a key. In some circumstances this None key might be compared with integer response status, which is unsupported in py3. Move away from having any sort of default value and instead return a default dummy bucket if we don't have any responses or only have 404 responses. Co-Authored-By: Alistair Coles <alistairncoles@gmail.com> Change-Id: I6a2ec3739ac92affb0f3dac248f26a1fc4ac9493 Closes-Bug: #1900770 (cherry picked from commit a5fa3cf)
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters