mirror of
https://github.com/borgbackup/borg.git
synced 2026-03-27 04:44:05 -04:00
NSKeyIterator and ChunkKeyIterator raised StopIteration once only when they reached their end. But they did not raise StopIteration if one called next() again after they were exhausted, so they did not comply to the standard iterator protocol. AFAIK, this did not cause actual problems due to the way these iterators are used, but when I tried to use itertools.islice() to get n-long sequences from these iterators, it failed / went into an endless loop. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| archive.py | ||
| archiver.py | ||
| benchmark.py | ||
| chunker.py | ||
| compress.py | ||
| crypto.py | ||
| hashindex.py | ||
| helpers.py | ||
| key.py | ||
| locking.py | ||
| logger.py | ||
| lrucache.py | ||
| platform.py | ||
| repository.py | ||
| shellpattern.py | ||
| upgrader.py | ||
| xattr.py | ||