summaryrefslogtreecommitdiffstats
path: root/ipalib/base.py
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 /ipalib/base.py
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 'ipalib/base.py')
-rw-r--r--ipalib/base.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ipalib/base.py b/ipalib/base.py
index 91259c7f3..12b2efd00 100644
--- a/ipalib/base.py
+++ b/ipalib/base.py
@@ -22,8 +22,9 @@ Foundational classes and functions.
"""
import re
-from constants import NAME_REGEX, NAME_ERROR
-from constants import TYPE_ERROR, SET_ERROR, DEL_ERROR, OVERRIDE_ERROR
+
+from ipalib.constants import NAME_REGEX, NAME_ERROR
+from ipalib.constants import TYPE_ERROR, SET_ERROR, DEL_ERROR, OVERRIDE_ERROR
class ReadOnly(object):