mirror of
https://github.com/octoleo/restic.git
synced 2025-02-07 06:18:25 +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.