freeipa/ipaclient/plugins
Armando Neto b274da726b Replace file.flush() calls with flush_sync() helper
Calls to `os.fsync(f.fileno())` need to be accompained by `f.flush()`.

Commit 8bbeedc93f introduces the helper
`ipapython.ipautil.flush_sync()`, which handles all calls in the right
order.

However, `flush_sync()` takes as parameter a file object with fileno
and name, where name must be a path to the file, this isn't possible
in some cases where file descriptors are used.

Issue: https://pagure.io/freeipa/issue/7251

Signed-off-by: Armando Neto <abiagion@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2018-07-07 10:20:01 +02:00
..
__init__.py ipaclient: introduce ipaclient.plugins 2016-06-03 09:00:34 +02:00
automember.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
automount.py ipaclient.plugins: Use api_version from internally called commands 2016-12-14 11:50:35 +01:00
ca.py x509: Make certificates represented as objects 2017-07-27 10:28:58 +02:00
cert.py Load certificate files as binary data 2018-04-30 20:42:00 +02:00
certmap.py Load certificate files as binary data 2018-04-30 20:42:00 +02:00
certprofile.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
csrgen.py Defer import of ipaclient.csrgen 2018-04-10 07:58:52 +02:00
dns.py Fix translation of commands description in API Browser 2018-06-12 08:38:56 +02:00
hbacrule.py ipalib: split off client-side plugin code into ipaclient 2016-06-03 09:00:34 +02:00
hbactest.py Fix ipa hbactest output 2016-08-04 17:13:16 +02:00
host.py x509: Make certificates represented as objects 2017-07-27 10:28:58 +02:00
idrange.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
internal.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
location.py Remove unused variables in the code 2016-09-27 13:35:58 +02:00
migration.py Fix pylint warnings inconsistent-return-statements 2017-12-18 11:51:14 +01:00
misc.py Make env and plugins commands local again 2016-12-02 13:00:06 +01:00
otptoken_yubikey.py otptoken_yubikey.py: Removed traceback when package missing. 2017-08-11 13:51:04 +02:00
otptoken.py Remove NSSConnection from otptoken plugin 2017-03-01 09:43:41 +00:00
passwd.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
permission.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
rpcclient.py ipalib: move client-side plugins to ipaclient 2016-06-03 09:00:34 +02:00
server.py Handled empty hostname in server-del command 2016-08-24 15:50:25 +02:00
service.py x509: Make certificates represented as objects 2017-07-27 10:28:58 +02:00
sudorule.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
topology.py topology.py: Removes error message from dictionary. 2017-07-14 09:23:17 +02:00
trust.py client: ignore override errors in command overrides 2016-06-30 16:32:20 +02:00
user.py x509: Make certificates represented as objects 2017-07-27 10:28:58 +02:00
vault.py Replace file.flush() calls with flush_sync() helper 2018-07-07 10:20:01 +02:00