Skip to content

Remove code duplication in casremote.py

Jürg Billeter requested to merge juerg/cas into master

This replaces the only call to _fetch_blob() with _CASBatchRead and then removes _fetch_blob(), reducing code duplication. _fetch_blob() also had a bug in its BlobNotFound error handling code path, which is fixed by the switch to _CASBatchRead. The BlobNotFound error handling code path in the latter is covered by the test suite.

Merge request reports