selftest: enable py3 for samba.tests.hostconfig
[metze/samba/wip.git] / python / samba / hostconfig.py
index a66fbc231301ca4b22267c1b70c589eab7181765..08fff4fdd4c73943f58b03ebe0a169e54428fa4c 100644 (file)
@@ -16,8 +16,8 @@
 #
 
 """Local host configuration."""
-
-from samdb import SamDB
+from __future__ import absolute_import
+from .samdb import SamDB
 
 class Hostconfig(object):
     """Aggregate object that contains all information about the configuration