761e10e8b1
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> |
||
---|---|---|
.. | ||
folder | ||
repository | ||
ui | ||
utils | ||
__init__.py | ||
accounts.py | ||
bundled_imaplib2.py | ||
CustomConfig.py | ||
emailutil.py | ||
error.py | ||
globals.py | ||
imaplibutil.py | ||
imapserver.py | ||
imaputil.py | ||
init.py | ||
localeval.py | ||
mbnames.py | ||
threadutil.py | ||
virtual_imaplib2.py |