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

python:gkdi: Reformat code with ‘ruff’

Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Jo Sutton
2024-04-05 13:43:30 +13:00
committed by Andrew Bartlett
parent 5aaebb537e
commit c6ed19ad1a

View File

@@ -352,13 +352,15 @@ class SeedKeyPair:
) )
def __hash__(self) -> int: def __hash__(self) -> int:
return hash(( return hash(
(
self.l1_key, self.l1_key,
self.l2_key, self.l2_key,
self.gkid, self.gkid,
self.hash_algorithm, self.hash_algorithm,
ndr_pack(self.root_key_id), ndr_pack(self.root_key_id),
)) )
)
class GroupKey: class GroupKey: