mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	checkupdates: sort the order of dirs when finding autoname
This commit is contained in:
		
							parent
							
								
									9215f5e4b1
								
							
						
					
					
						commit
						a7e56598d6
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -381,7 +381,8 @@ def dirs_with_manifest(startdir: str):
 | 
			
		|||
        A directory that contains a manifest file of an Android project, None if
 | 
			
		||||
        no directory could be found
 | 
			
		||||
    """
 | 
			
		||||
    for root, _dirs, files in os.walk(startdir):
 | 
			
		||||
    for root, dirs, files in os.walk(startdir):
 | 
			
		||||
        dirs.sort()
 | 
			
		||||
        if any(m in files for m in [
 | 
			
		||||
                'AndroidManifest.xml', 'pom.xml', 'build.gradle', 'build.gradle.kts']):
 | 
			
		||||
            yield Path(root)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue