config: ConfigStatic should only try to fetch missing known repos
When a configuration file depends on a include from a repo, which is defined in another included file, a 'KeyError' occures. This fixes this, so that only known repos are tried to be fetched. Signed-off-by: Claudius Heine <ch@denx.de>
This commit is contained in:
		
				
					committed by
					
						
						Daniel Wagner
					
				
			
			
				
	
			
			
			
						parent
						
							2a4a34865a
						
					
				
				
					commit
					23c3a951f6
				
			@@ -344,7 +344,8 @@ class ConfigStatic(Config):
 | 
			
		||||
 | 
			
		||||
            repo_dict = self.get_repo_dict()
 | 
			
		||||
            missing_repos = [repo_dict[repo_name]
 | 
			
		||||
                             for repo_name in missing_repo_names]
 | 
			
		||||
                             for repo_name in missing_repo_names
 | 
			
		||||
                             if repo_name in repo_dict]
 | 
			
		||||
 | 
			
		||||
            repos_fetch(self, missing_repos)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user