summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-01 15:20:25 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-01 15:33:07 +0200
commit84891b048d577e52da91c64d310f7bafa115d015 (patch)
tree959c0794c00b484553ac876e21ee55cc3fa27d7c /source4/scripting/bin
parent64c564291d9ce60d934273aaac15150386d22127 (diff)
downloadsamba-84891b048d577e52da91c64d310f7bafa115d015.tar.gz
samba-84891b048d577e52da91c64d310f7bafa115d015.tar.xz
samba-84891b048d577e52da91c64d310f7bafa115d015.zip
s4-python: Install external packages to a different directory but import into
the normal namespace when the system doesn't have it available.
Diffstat (limited to 'source4/scripting/bin')
-rwxr-xr-xsource4/scripting/bin/samba_dnsupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/samba_dnsupdate b/source4/scripting/bin/samba_dnsupdate
index 8a7b8a4e344..b3956aa2c49 100755
--- a/source4/scripting/bin/samba_dnsupdate
+++ b/source4/scripting/bin/samba_dnsupdate
@@ -38,7 +38,7 @@ from samba import glue
from samba.auth import system_session
from samba.samdb import SamDB
-samba.ensure_external_module("dns.resolver", "dnspython")
+samba.ensure_external_module("dns", "dnspython")
import dns.resolver as resolver
default_ttl = 900