summaryrefslogtreecommitdiff
path: root/python/samba/samba3
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-03-22 12:21:12 +0000
committerAndrew Bartlett <abartlet@samba.org>2018-04-05 08:59:08 +0200
commite4779b0da3140e0a9777a39b82222cd1a8102780 (patch)
tree3c4ec84f219907cbc38076254cbcf23a64b95edd /python/samba/samba3
parentc6bba60c8b3b203396af6713d565fbdea2a8f322 (diff)
downloadsamba-e4779b0da3140e0a9777a39b82222cd1a8102780.tar.gz
python selftest: enable samba.tests.s3param to run with python3
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'python/samba/samba3')
-rw-r--r--python/samba/samba3/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/samba/samba3/__init__.py b/python/samba/samba3/__init__.py
index 8df01705497..ff28da49881 100644
--- a/python/samba/samba3/__init__.py
+++ b/python/samba/samba3/__init__.py
@@ -26,9 +26,8 @@ import os
import struct
import tdb
-import passdb
-import param as s3param
-
+import samba.samba3.passdb
+from samba.samba3 import param as s3param
def fetch_uint32(db, key):
try: