git.samba.org
/
martins
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aaebb5
)
python:gkdi: Reformat code with ‘ruff’
author
Jo Sutton
<josutton@catalyst.net.nz>
Fri, 5 Apr 2024 00:43:30 +0000
(13:43 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 16 Apr 2024 03:58:31 +0000
(
03:58
+0000)
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/gkdi.py
patch
|
blob
|
history
diff --git
a/python/samba/gkdi.py
b/python/samba/gkdi.py
index b62a00ed3c258dad36e275142580732c029a1b4c..22890c83ff3a2db4b9639423ab732bcfa2ca785e 100644
(file)
--- a/
python/samba/gkdi.py
+++ b/
python/samba/gkdi.py
@@
-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: