From: Rob van der Linde Date: Thu, 18 Jan 2024 02:30:04 +0000 (+1300) Subject: netcmd: models: change import style to use brackets X-Git-Tag: tdb-1.4.11~1833 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2b63fe85eaee8a130329ed03ef914cf556b9359;p=thirdparty%2Fsamba.git netcmd: models: change import style to use brackets Signed-off-by: Rob van der Linde Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/netcmd/domain/models/model.py b/python/samba/netcmd/domain/models/model.py index 804e12d49b0..8d68c47075b 100644 --- a/python/samba/netcmd/domain/models/model.py +++ b/python/samba/netcmd/domain/models/model.py @@ -23,14 +23,15 @@ import inspect from abc import ABCMeta, abstractmethod -from ldb import ERR_NO_SUCH_OBJECT, FLAG_MOD_ADD, FLAG_MOD_REPLACE, LdbError,\ - Message, MessageElement, SCOPE_BASE, SCOPE_SUBTREE, binary_encode +from ldb import (ERR_NO_SUCH_OBJECT, FLAG_MOD_ADD, FLAG_MOD_REPLACE, + LdbError, Message, MessageElement, SCOPE_BASE, + SCOPE_SUBTREE, binary_encode) from samba.sd_utils import SDUtils -from .exceptions import DeleteError, DoesNotExist, FieldError,\ - ProtectError, UnprotectError -from .fields import DateTimeField, DnField, Field, GUIDField, IntegerField,\ - StringField +from .exceptions import (DeleteError, DoesNotExist, FieldError, + ProtectError, UnprotectError) +from .fields import (DateTimeField, DnField, Field, GUIDField, IntegerField, + StringField) from .query import Query # Keeps track of registered models.