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:
committed by
Andrew Bartlett
parent
5aaebb537e
commit
c6ed19ad1a
@@ -352,13 +352,15 @@ class SeedKeyPair:
|
||||
)
|
||||
|
||||
def __hash__(self) -> int:
|
||||
return hash((
|
||||
self.l1_key,
|
||||
self.l2_key,
|
||||
self.gkid,
|
||||
self.hash_algorithm,
|
||||
ndr_pack(self.root_key_id),
|
||||
))
|
||||
return hash(
|
||||
(
|
||||
self.l1_key,
|
||||
self.l2_key,
|
||||
self.gkid,
|
||||
self.hash_algorithm,
|
||||
ndr_pack(self.root_key_id),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
class GroupKey:
|
||||
|
||||
Reference in New Issue
Block a user