mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	mypy: Remove type ignore for merged typeshed PR 1762.
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							6b4300904a
						
					
				
				
					commit
					ba54e20def
				
			| @@ -51,7 +51,7 @@ def get_imap_messages() -> Generator[Message, None, None]: | ||||
|     try: | ||||
|         mbox.select(settings.EMAIL_GATEWAY_IMAP_FOLDER) | ||||
|         try: | ||||
|             status, num_ids_data = mbox.search(None, 'ALL')  # type: ignore # https://github.com/python/typeshed/pull/1762 | ||||
|             status, num_ids_data = mbox.search(None, 'ALL') | ||||
|             for msgid in num_ids_data[0].split(): | ||||
|                 status, msg_data = mbox.fetch(msgid, '(RFC822)') | ||||
|                 msg_as_bytes = msg_data[0][1] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user