Commit b6f9f6ec authored by Maiken's avatar Maiken
Browse files

Merge branch 'standalone-testca-python3' into 'master'

One more decode for python3 (standalone arcctl test-ca)

See merge request !944
parents 84bba905 958f99b8
Pipeline #7439 passed with stages
in 127 minutes and 28 seconds
......@@ -66,7 +66,7 @@ class TestCAControl(ComponentControl):
# try to get it from hostname -f
hostname_f = subprocess.Popen(['hostname', '-f'], stdout=subprocess.PIPE)
self.hostname = hostname_f.stdout.readline().strip()
self.hostname = hostname_f.stdout.readline().decode().strip()
self.logger.debug('Using hostname from \'hostname -f\': %s', self.hostname)
except OSError:
# fallback
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment