mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
python/samba: Fix py2/3 relative module import issue
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
ac30d7b6c4
commit
45c0ec855f
@ -35,7 +35,7 @@ from samba.dcerpc.security import dom_sid
|
|||||||
from samba.netcmd import Option, CommandError
|
from samba.netcmd import Option, CommandError
|
||||||
from samba.dcerpc import misc, security
|
from samba.dcerpc import misc, security
|
||||||
from samba import Ldb
|
from samba import Ldb
|
||||||
from fsmo import cmd_fsmo_seize
|
from . fsmo import cmd_fsmo_seize
|
||||||
from samba.provision import make_smbconf
|
from samba.provision import make_smbconf
|
||||||
from samba.upgradehelpers import update_krbtgt_account_password
|
from samba.upgradehelpers import update_krbtgt_account_password
|
||||||
from samba.remove_dc import remove_dc
|
from samba.remove_dc import remove_dc
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
import samba.getopt as options
|
import samba.getopt as options
|
||||||
import common
|
from . import common
|
||||||
from samba.net import Net
|
from samba.net import Net
|
||||||
|
|
||||||
from samba.netcmd import (
|
from samba.netcmd import (
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
import ldb
|
import ldb
|
||||||
from ldb import FLAG_MOD_ADD, FLAG_MOD_REPLACE, LdbError
|
from ldb import FLAG_MOD_ADD, FLAG_MOD_REPLACE, LdbError
|
||||||
from sites import SiteNotFoundException
|
from . sites import SiteNotFoundException
|
||||||
|
|
||||||
|
|
||||||
class SubnetException(Exception):
|
class SubnetException(Exception):
|
||||||
|
Reference in New Issue
Block a user