Commit b6f9f6ec authored by Maiken's avatar Maiken

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

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

See merge request nordugrid/arc!944
parents 84bba905 958f99b8
Pipeline #7445 passed with stage
in 63 minutes and 51 seconds
......@@ -66,7 +66,7 @@ class TestCAControl(ComponentControl):
try:
# 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