Better handeling of missing props.
This commit is contained in:
		
							parent
							
								
									59cec04d0e
								
							
						
					
					
						commit
						9638d9d685
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -31,7 +31,8 @@ def filter(manifests: dict, target: dict) -> dict: | ||||||
| 
 | 
 | ||||||
|         if "requires" in manifest: |         if "requires" in manifest: | ||||||
|             for req in manifest["requires"]: |             for req in manifest["requires"]: | ||||||
|                 if not target["props"][req] in manifest["requires"][req]: |                 if not req in target["props"] or \ | ||||||
|  |                    not target["props"][req] in manifest["requires"][req]: | ||||||
|                     accepted = False |                     accepted = False | ||||||
|                     break |                     break | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue