1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-19 12:23:49 +03:00

python: netcmd: fix import grouping and sorting in base first

Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Rob van der Linde
2023-10-05 15:52:54 +13:00
committed by Andrew Bartlett
parent 5f8c46d1de
commit b7a1946d8b

View File

@@ -24,13 +24,14 @@
import os
import random
import string
from samba.auth import system_session
from samba.samdb import SamDB
from io import StringIO
from samba.netcmd.main import cmd_sambatool
from optparse import OptionParser
import samba.getopt as options
import samba.tests
from samba.auth import system_session
from samba.netcmd.main import cmd_sambatool
from samba.samdb import SamDB
def truncate_string(s, cutoff=100):