mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
python2 reduction: Merge remaining compat code into common
The remaining compat code (get_string, get_bytes, cmp) are useful helper routines which we should simply merge into common (especially since there is some duplication here). Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Autobuild-User(master): David Mulder <dmulder@samba.org> Autobuild-Date(master): Fri Oct 2 14:49:36 UTC 2020 on sn-devel-184
This commit is contained in:
committed by
David Mulder
parent
85d2ff2f00
commit
a3cd315321
@ -20,7 +20,7 @@ from ldb import ERR_UNWILLING_TO_PERFORM, ERR_OPERATIONS_ERROR
|
||||
from samba.samdb import SamDB
|
||||
from samba.tests import delete_force
|
||||
from samba import dsdb
|
||||
from samba.compat import get_string
|
||||
from samba.common import get_string
|
||||
|
||||
parser = optparse.OptionParser("deletetest.py [options] <host|file>")
|
||||
sambaopts = options.SambaOptions(parser)
|
||||
|
Reference in New Issue
Block a user