summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-06 23:20:12 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-10 21:31:53 +0100
commita0db69dd79c90a7a77e627b56ec3b854b7350537 (patch)
tree51cc0a53045c3b7bcdf40df1b155d1d86f85cfb1 /source4/scripting
parent4c292c8e622ba293c10a4dc4e5799b588699810a (diff)
downloadsamba-a0db69dd79c90a7a77e627b56ec3b854b7350537.tar.gz
samba-a0db69dd79c90a7a77e627b56ec3b854b7350537.tar.bz2
samba-a0db69dd79c90a7a77e627b56ec3b854b7350537.zip
python: samba: Use relative import for _glue.
For some reason, using an absolute import breaks pydoctor.
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py
index f6af472f83..eb770087ac 100644
--- a/source4/scripting/python/samba/__init__.py
+++ b/source4/scripting/python/samba/__init__.py
@@ -347,7 +347,7 @@ def dn_from_dns_name(dnsdomain):
"""return a DN from a DNS name domain/forest root"""
return "DC=" + ",DC=".join(dnsdomain.split("."))
-from samba import _glue
+import _glue
version = _glue.version
interface_ips = _glue.interface_ips
set_debug_level = _glue.set_debug_level