freeipa/ipapython/dnssec
Petr Viktorin 099cf98307 Refactor ipautil.run
The ipautil.run function now returns an object with returncode and
output are accessible as attributes.

The stdout and stderr of all commands are logged (unless skip_output is given).

The stdout/stderr contents must be explicitly requested with a keyword
argument, otherwise they are None.
This is because in Python 3, the output needs to be decoded, and that can
fail if it's not decodable (human-readable) text.

The raw (bytes) output is always available from the result object,
as is "leniently" decoded output suitable for logging.

All calls are changed to reflect this.

A use of Popen in cainstance is changed to ipautil.run.

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2015-12-14 10:54:23 +01:00
..
__init__.py DNSSEC: add ipa dnssec daemons 2014-10-21 12:23:03 +02:00
abshsm.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
bindmgr.py Refactor ipautil.run 2015-12-14 10:54:23 +01:00
keysyncer.py DNSSEC: Fix HSM synchronization in ipa-dnskeysyncd when running on DNSSEC key master 2015-09-03 18:20:36 +02:00
ldapkeydb.py Use Python3-compatible dict method names 2015-09-01 11:42:01 +02:00
localhsm.py Use the print function 2015-09-01 11:42:01 +02:00
odsmgr.py Refactor ipautil.run 2015-12-14 10:54:23 +01:00
syncrepl.py ipapython: Fix incorrect python shebangs 2015-01-26 13:03:24 +01:00
temp.py ipapython: Fix incorrect python shebangs 2015-01-26 13:03:24 +01:00