mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
address python2/python3 differences
This commit is contained in:
@@ -230,7 +230,7 @@ class dnskey:
|
||||
raise Exception('unable to generate key: ' + stderr)
|
||||
|
||||
try:
|
||||
keystr = stdout.splitlines()[0]
|
||||
keystr = stdout.splitlines()[0].decode('ascii')
|
||||
newkey = dnskey(keystr, self._dir, self.ttl)
|
||||
return newkey
|
||||
except:
|
||||
|
Reference in New Issue
Block a user