mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	Print a warning if there are no unblock{,-udeb} hints
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
		
							parent
							
								
									1e4a1aa727
								
							
						
					
					
						commit
						92cf5754fc
					
				@ -794,6 +794,10 @@ class Britney:
 | 
			
		||||
                z[a] = b
 | 
			
		||||
            hints[x] = z
 | 
			
		||||
 | 
			
		||||
        # Sanity check the hints hash
 | 
			
		||||
        if len(hints["block"]) == 0 and len(hints["block-udeb"]) == 0:
 | 
			
		||||
            self.__log("WARNING: No block hints at all, not even udeb ones!", type="W")
 | 
			
		||||
 | 
			
		||||
        return hints
 | 
			
		||||
 | 
			
		||||
    def write_heidi(self, filename):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user