python/samba/netcmd: Fix relative module import
authorNoel Power <noel.power@suse.com>
Fri, 18 May 2018 11:12:44 +0000 (12:12 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Jul 2018 23:12:24 +0000 (01:12 +0200)
Part of future changes needed to enable samba4.drs.replica_sync_rodc
for PY3.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/netcmd/drs.py

index b8793b7660695d3c906542468c6250eac307bf03..6fb8c570a1a6fbbb5b79e220f0f9e2819ce7272e 100644 (file)
@@ -21,7 +21,7 @@
 import samba.getopt as options
 import ldb
 import logging
-import common
+from . import common
 import json
 
 from samba.auth import system_session