From c6ed19ad1a71d9d8bfebd9e9db939e2959df3a2c Mon Sep 17 00:00:00 2001 From: Jo Sutton Date: Fri, 5 Apr 2024 13:43:30 +1300 Subject: [PATCH] =?utf8?q?python:gkdi:=20Reformat=20code=20with=20?= =?utf8?q?=E2=80=98ruff=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- python/samba/gkdi.py | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/python/samba/gkdi.py b/python/samba/gkdi.py index b62a00ed3c2..22890c83ff3 100644 --- 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: -- 2.34.1