diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2020-01-16 23:02:13 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2020-01-16 23:41:43 +0100 |
commit | e91eb5795a658e56521b60b74d0ee443230aa0c0 (patch) | |
tree | b93df50bd65f389b1d5f42ebf48e3276df027a93 /fm_strl.h | |
parent | c01fe25538498a3aea997df23161704faa874d66 (diff) | |
download | fetchmail-e91eb5795a658e56521b60b74d0ee443230aa0c0.tar.gz fetchmail-e91eb5795a658e56521b60b74d0ee443230aa0c0.tar.bz2 fetchmail-e91eb5795a658e56521b60b74d0ee443230aa0c0.zip |
fetchmailconf: Simplify configdump handling, don't use a tmpfile.
Use subprocess.check_output(), avoid the tmpfile, saves the umask hassle
and greatly simplifies the code.
Use sys.exit() with a string argument.
Do away with the PY3K constant for decoding the greetline in a
version-dependent way, this should and appears happen inside the future module.
Diffstat (limited to 'fm_strl.h')
0 files changed, 0 insertions, 0 deletions