offlineimap/offlineimap/utils
Philippe Loctaux 761e10e8b1 Add Archlinux to list of supported distros
There is a bug with `platform.linux_distribution()`, which returns an
empty value on Archlinux with python2.

This bug is fixed in python3, but *will not* be fixed in python2.

This patch fixes that issue with a dirty hack: on archlinux, there is a
file that can be used to detect an archlinux machine. that file is
`/etc/arch-release`. if the file exists, then the OS variable will be
set to "linux-arch".

You can learn more about that issue on the python bug platform:
https://bugs.python.org/issue20454

Signed-off-by: Philippe Loctaux <loctauxphilippe@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2018-08-17 18:49:04 +02:00
..
__init__.py And add forgotten __init__.py for offlineimap.utils 2013-02-05 07:52:25 +04:00
const.py utils/const.py: fix ident 2015-01-01 22:24:23 +01:00
distro.py Add Archlinux to list of supported distros 2018-08-17 18:49:04 +02:00
stacktrace.py Implement stack trace dump for all running threads on SIGQUIT 2013-02-02 16:25:37 +04:00