Do not raise error if CORE equity payment not found in rattail
This commit is contained in:
		
							parent
							
								
									95cd77c7fb
								
							
						
					
					
						commit
						7a18dc20ce
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -345,7 +345,11 @@ class MemberEquityPaymentImporter(FromCOREPOS, corepos_importing.model.MemberEqu | |||
|         if len(matches) == 1: | ||||
|             return matches[0] | ||||
| 
 | ||||
|         raise NotImplementedError(f"{len(matches)} payments matched for CORE equity: {stock_purchase}") | ||||
|         # TODO: not sure how to handle yet, if last check found more | ||||
|         # than one match.  presumably if none were found then it is | ||||
|         # safe to just return none though.. | ||||
|         if matches: | ||||
|             raise NotImplementedError(f"{len(matches)} payments matched for CORE equity: {stock_purchase}") | ||||
| 
 | ||||
|     def normalize_host_object(self, stock_purchase): | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar