docker-offlineimap/offlineimap/repository
Stéphane Graber e3bbf75feb Fix ipv6 configuration handling
According to documentation and the code, the following behavior is expected:

ipv6 = no
    AF_INET is used

ipv6 = yes
    AF_INET6 is used

ipv6 undefined
    AF_UNDEF is used

Unfortunately the code parsing the "ipv6" configuration option was
returning "False" rather than "None" when failing to locate the option,
making it impossible to detect whether "ipv6" isn't set or if it was set
to "false" and leading offlineimap to use AF_INET for the connection.

This fixes the use of offlineimap on hosts that occasionaly are
connected to IPv6-only networks.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2017-02-03 18:43:02 +01:00
..
__init__.py correctly reraise errors with six 2016-07-03 19:56:14 +02:00
Base.py repository: Base: fix typo in folder variable name 2016-11-30 22:33:05 +01:00
Gmail.py Merge branch 'avar/pr404' into next 2016-11-17 17:58:13 +01:00
GmailMaildir.py repository: GmailMaildir: fix copyright 2015-01-14 18:01:05 +01:00
IMAP.py Fix ipv6 configuration handling 2017-02-03 18:43:02 +01:00
LocalStatus.py SQLite: avoid concurrent writes on backend migration 2017-01-31 17:59:25 +01:00
Maildir.py Enable environment variable expansion on Repository.localfolders 2016-11-30 19:22:57 +01:00