Add result output for generate-db command
This commit is contained in:
		
							parent
							
								
									a82114818f
								
							
						
					
					
						commit
						475fbeb6aa
					
				@ -135,8 +135,10 @@ def _generate_db(source):
 | 
			
		||||
    for current_file in all_files:
 | 
			
		||||
        if os.path.splitext(current_file)[1][1:].lower() not in extensions:
 | 
			
		||||
            log.info('Skipping invalid file %s' % current_file)
 | 
			
		||||
            RESULT.append((current_file, None))
 | 
			
		||||
            continue
 | 
			
		||||
 | 
			
		||||
        RESULT.append((current_file, True))
 | 
			
		||||
        db.add_hash(db.checksum(current_file), current_file)
 | 
			
		||||
    
 | 
			
		||||
    db.update_hash_db()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user