mirror of
https://github.com/octoleo/restic.git
synced 2025-01-27 00:58:36 +00:00
367449dede
The slicing operator `slice[low:high]` default to 0 for the lower bound and len(slice) for the upper bound when either or both are not specified. Fix the code to use `cap(slice)` to check for the slice capacity.