borgbackup/borg
Thomas Waldmann 8fd0e07a1c hashindex: fix iterator implementation
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.
2016-09-29 04:41:59 +02:00
..
testsuite hashindex: fix iterator implementation 2016-09-29 04:41:59 +02:00
__init__.py propperly handle borg._version using setuptools_scm 2015-08-22 15:54:40 +02:00
__main__.py cosmetic source cleanup (flake8) 2016-01-30 21:32:45 +01:00
_chunker.c Workround a bug in Linux fadvise FADV_DONTNEED, fixes #907 2016-04-15 20:16:47 -04:00
_hashindex.c hashindex.c: hashindex_resize check hashindex_set rc (contract) 2016-07-09 01:35:01 +02:00
archive.py trivial code optimization 2016-09-17 17:19:26 +02:00
archiver.py archiver: Add documentation for "key export" and "key import" commands. (#1641) 2016-09-27 15:24:31 +02:00
cache.py yes(): abort on wrong answers, saying so 2016-09-22 02:43:57 +02:00
chunker.pyx cython code: add some int types to get rid of unspecific python add / subtract operations 2015-09-10 23:12:12 +02:00
compress.pyx lz4: reuse helpers.Buffer 2016-08-13 01:46:15 +02:00
crypto.pyx use long long for AES block counter, fixes #1206 2016-06-26 20:45:22 +02:00
fuse.py FUSE: always create a root dir, fixes #1125 2016-07-29 00:24:18 +02:00
hashindex.pyx hashindex: fix iterator implementation 2016-09-29 04:41:59 +02:00
helpers.py Merge pull request #1623 from ThomasWaldmann/yes-retries 2016-09-25 22:34:32 +02:00
key.py yes(): abort on wrong answers, saying so 2016-09-22 02:43:57 +02:00
keymanager.py archiver: Move key management commands to new key subcommand. 2016-09-25 16:24:57 +02:00
locking.py repository: fix spurious, empty lock.roster on InvalidRepository exception 2016-08-18 00:54:12 +02:00
logger.py sane remote logging, remote stderr, fixes #461 2015-12-12 22:15:08 +01:00
lrucache.py Merge branch 'master' into lrucache 2015-08-14 10:59:21 +01:00
platform.py sync_dir: silence fsync() failing with EINVAL 2016-07-08 17:36:32 +02:00
platform_darwin.pyx acls (darwin): use helper functions safe_encode/safe_decode 2015-10-19 02:32:29 +02:00
platform_freebsd.pyx acls (freebsd): use helper functions safe_encode/safe_decode 2015-10-19 01:43:46 +02:00
platform_linux.pyx acls (linux): helper functions safe_encode/safe_decode 2015-10-19 01:40:15 +02:00
remote.py RepositoryServer: Add error message when connection was closed before opening repo. 2016-08-24 08:32:04 +02:00
repository.py fix closed FD issue, fixes #1551 2016-09-26 04:34:25 +02:00
shellpattern.py fix most python-source related sphinx warnings 2016-07-10 17:26:04 +02:00
upgrader.py rename UpgradableLock to Lock 2016-08-05 19:06:09 +02:00
xattr.py refactor buffer code into helpers.Buffer class, add tests 2016-08-13 01:45:23 +02:00