]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python: netcmd: dbcheck: fix import grouping and order
authorRob van der Linde <rob@catalyst.net.nz>
Thu, 5 Oct 2023 02:13:45 +0000 (15:13 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 24 Oct 2023 23:31:29 +0000 (23:31 +0000)
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>
python/samba/netcmd/dbcheck.py

index 4d5c79ff11bf280fb83c40ad802aab4cd923f94b..78a32c33537d155c20bdbe7b77db2d2daf3f07f8 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 
-import ldb
 import sys
+
+import ldb
 import samba.getopt as options
+from samba import colour
 from samba.auth import system_session
-from samba.samdb import SamDB
-from samba.netcmd import (
-    Command,
-    CommandError,
-    Option
-)
 from samba.dbchecker import dbcheck
-from samba import colour
+from samba.samdb import SamDB
+
+from . import Command, CommandError, Option
 
 
 class cmd_dbcheck(Command):