mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-10-31 04:08:21 +00:00 
			
		
		
		
	Fix type annotation causing import time error in the Complement forking launcher. (#14084)
Co-authored-by: David Robertson <davidr@element.io>
This commit is contained in:
		
							parent
							
								
									dbfc9b803e
								
							
						
					
					
						commit
						b922b54b61
					
				
							
								
								
									
										1
									
								
								changelog.d/14084.misc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								changelog.d/14084.misc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | ||||
| Fix type annotation causing import time error in the Complement forking launcher. | ||||
| @ -55,13 +55,13 @@ import os | ||||
| import signal | ||||
| import sys | ||||
| from types import FrameType | ||||
| from typing import Any, Callable, List, Optional | ||||
| from typing import Any, Callable, Dict, List, Optional | ||||
| 
 | ||||
| from twisted.internet.main import installReactor | ||||
| 
 | ||||
| # a list of the original signal handlers, before we installed our custom ones. | ||||
| # We restore these in our child processes. | ||||
| _original_signal_handlers: dict[int, Any] = {} | ||||
| _original_signal_handlers: Dict[int, Any] = {} | ||||
| 
 | ||||
| 
 | ||||
| class ProxiedReactor: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user