mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	python: Delete superfluous parens.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Anders Kaseorg
					
				
			
			
				
	
			
			
			
						parent
						
							e0d3176098
						
					
				
				
					commit
					28597365da
				
			@@ -132,11 +132,9 @@ def der_encode_ticket(tkt: Dict[str, Any]) -> bytes:
 | 
			
		||||
                der_encode_sequence(  # EncryptedData
 | 
			
		||||
                    [
 | 
			
		||||
                        der_encode_int32(tkt["encPart"]["etype"]),
 | 
			
		||||
                        (
 | 
			
		||||
                            der_encode_uint32(tkt["encPart"]["kvno"])
 | 
			
		||||
                            if "kvno" in tkt["encPart"]
 | 
			
		||||
                            else None
 | 
			
		||||
                        ),
 | 
			
		||||
                        der_encode_uint32(tkt["encPart"]["kvno"])
 | 
			
		||||
                        if "kvno" in tkt["encPart"]
 | 
			
		||||
                        else None,
 | 
			
		||||
                        der_encode_octet_string(base64.b64decode(tkt["encPart"]["cipher"])),
 | 
			
		||||
                    ]
 | 
			
		||||
                ),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user