mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	Print a warning about malformed lines in the RC-bug list files
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
		
							parent
							
								
									975ac48a41
								
							
						
					
					
						commit
						9336be8d7d
					
				@ -564,6 +564,7 @@ class Britney:
 | 
			
		||||
        for line in open(filename):
 | 
			
		||||
            l = line.split()
 | 
			
		||||
            if len(l) != 2:
 | 
			
		||||
                print "WARNING: Malformed line found in %s: %s" % (file, line)
 | 
			
		||||
                continue
 | 
			
		||||
            bugs[l[0]] = l[1].split(",")
 | 
			
		||||
        return bugs
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user