File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -343,19 +343,17 @@ def verified(self) -> bool:
343343 def signed (self ) -> dict [str , Key ]:
344344 """Dictionary of all signing keys that have signed, from both
345345 VerificationResults.
346- return a union of all signed (in python<3.9 this requires
347- dict unpacking)
346+ return a union of all signed.
348347 """
349- return { ** self .first .signed , ** self .second .signed }
348+ return self .first .signed | self .second .signed
350349
351350 @property
352351 def unsigned (self ) -> dict [str , Key ]:
353352 """Dictionary of all signing keys that have not signed, from both
354353 VerificationResults.
355- return a union of all unsigned (in python<3.9 this requires
356- dict unpacking)
354+ return a union of all unsigned.
357355 """
358- return { ** self .first .unsigned , ** self .second .unsigned }
356+ return self .first .unsigned | self .second .unsigned
359357
360358
361359class _DelegatorMixin (metaclass = abc .ABCMeta ):
You can’t perform that action at this time.
0 commit comments