summaryrefslogtreecommitdiffstats
path: root/ipapython/dnssec
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2015-07-31 10:15:01 +0200
committerTomas Babej <tbabej@redhat.com>2015-08-12 18:17:23 +0200
commit5435a8a32a2e88675e84d22d6f9b97e67f6f5264 (patch)
treebec4d7befefdac6974811d8ce49e35b508d1ecf8 /ipapython/dnssec
parent262faec70a0cea9c57c24e9b8e6b334a4c715acc (diff)
downloadfreeipa-5435a8a32a2e88675e84d22d6f9b97e67f6f5264.tar.gz
freeipa-5435a8a32a2e88675e84d22d6f9b97e67f6f5264.tar.xz
freeipa-5435a8a32a2e88675e84d22d6f9b97e67f6f5264.zip
Use absolute imports
In Python 3, implicit relative imports will not be supported. Use fully-qualified imports everywhere. Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipapython/dnssec')
-rw-r--r--ipapython/dnssec/bindmgr.py2
-rw-r--r--ipapython/dnssec/keysyncer.py6
-rw-r--r--ipapython/dnssec/ldapkeydb.py3
-rwxr-xr-xipapython/dnssec/localhsm.py4
4 files changed, 9 insertions, 6 deletions
diff --git a/ipapython/dnssec/bindmgr.py b/ipapython/dnssec/bindmgr.py
index 2c6781609..1822dacf2 100644
--- a/ipapython/dnssec/bindmgr.py
+++ b/ipapython/dnssec/bindmgr.py
@@ -17,7 +17,7 @@ from ipapython.dn import DN
from ipapython import ipa_log_manager, ipautil
from ipaplatform.paths import paths
-from temp import TemporaryDirectory
+from ipapython.dnssec.temp import TemporaryDirectory
time_bindfmt = '%Y%m%d%H%M%S'
diff --git a/ipapython/dnssec/keysyncer.py b/ipapython/dnssec/keysyncer.py
index 837602fb4..d1f400e2e 100644
--- a/ipapython/dnssec/keysyncer.py
+++ b/ipapython/dnssec/keysyncer.py
@@ -9,9 +9,9 @@ import os
from ipaplatform.paths import paths
from ipapython import ipautil
-from syncrepl import SyncReplConsumer
-from odsmgr import ODSMgr
-from bindmgr import BINDMgr
+from ipapython.dnssec.syncrepl import SyncReplConsumer
+from ipapython.dnssec.odsmgr import ODSMgr
+from ipapython.dnssec.bindmgr import BINDMgr
SIGNING_ATTR = 'idnsSecInlineSigning'
OBJCLASS_ATTR = 'objectClass'
diff --git a/ipapython/dnssec/ldapkeydb.py b/ipapython/dnssec/ldapkeydb.py
index 23e6b019c..86a7d0ac1 100644
--- a/ipapython/dnssec/ldapkeydb.py
+++ b/ipapython/dnssec/ldapkeydb.py
@@ -13,7 +13,8 @@ from ipapython import ipaldap
from ipapython import ipautil
from ipaplatform.paths import paths
-from abshsm import attrs_name2id, attrs_id2name, bool_attr_names, populate_pkcs11_metadata, AbstractHSM
+from ipapython.dnssec.abshsm import (attrs_name2id, attrs_id2name, AbstractHSM,
+ bool_attr_names, populate_pkcs11_metadata)
import _ipap11helper
import uuid
diff --git a/ipapython/dnssec/localhsm.py b/ipapython/dnssec/localhsm.py
index 6176fbf00..412b55df9 100755
--- a/ipapython/dnssec/localhsm.py
+++ b/ipapython/dnssec/localhsm.py
@@ -14,7 +14,9 @@ import time
from ipaplatform.paths import paths
import _ipap11helper
-from abshsm import attrs_name2id, attrs_id2name, AbstractHSM, keytype_id2name, keytype_name2id, ldap2p11helper_api_params
+from ipapython.dnssec.abshsm import (attrs_name2id, attrs_id2name, AbstractHSM,
+ keytype_id2name, keytype_name2id,
+ ldap2p11helper_api_params)
private_key_api_params = set(["label", "id", "data", "unwrapping_key",
"wrapping_mech", "key_type", "cka_always_authenticate", "cka_copyable",