diff options
| author | Christian Heimes <cheimes@redhat.com> | 2015-08-16 19:00:00 +0200 |
|---|---|---|
| committer | Christian Heimes <cheimes@redhat.com> | 2015-08-17 21:14:12 +0200 |
| commit | 0ab2ba73018675187ed932dc0b421488af17600a (patch) | |
| tree | 8cef2fc045bcdbca93c947ec7ed0bdc088e478be /base/common/python/_static | |
| parent | 74a355185eeb30e7d42ff2d29c4c3c3c298b2a12 (diff) | |
| download | pki-0ab2ba73018675187ed932dc0b421488af17600a.tar.gz pki-0ab2ba73018675187ed932dc0b421488af17600a.tar.xz pki-0ab2ba73018675187ed932dc0b421488af17600a.zip | |
Py3 compatibility: encode output of subprocess call
In Python 3 subprocess.Popen() and check_out() return bytes. The rest of
PKI expects text, so the output has to be decoded.
- ascii for dnsdomainname
- sys.getfilesystemencoding() for paths
- utf-8 for the rest
Diffstat (limited to 'base/common/python/_static')
0 files changed, 0 insertions, 0 deletions
