mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-14 02:39:59 -04:00
[v9_10] address some python2/3 incompatibilities
This commit is contained in:
parent
530e40e7d0
commit
6bfb11b25e
1 changed files with 1 additions and 2 deletions
|
|
@ -48,8 +48,7 @@ class dnskey:
|
|||
self.fromtuple(name, alg, keyid, keyttl)
|
||||
|
||||
self._dir = directory or os.path.dirname(key) or '.'
|
||||
key = os.path.basename(key)
|
||||
|
||||
key = os.path.basename(key).decode('ascii')
|
||||
(name, alg, keyid) = key.split('+')
|
||||
name = name[1:-1]
|
||||
alg = int(alg)
|
||||
|
|
|
|||
Loading…
Reference in a new issue