mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	britney: Ignore "remark" hints as they are not meant for us
The "remark" hint is only intended for showing up in the output of "d" (or via hint grep). It has no effect on Britney's behaviour. Admittedly, the original code would have ignored it as well. But this change makes it explicit and not simply a "ignored due to insufficient permissions". Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
		
							parent
							
								
									1725f63f26
								
							
						
					
					
						commit
						b2cef666f4
					
				@ -853,6 +853,11 @@ class Britney(object):
 | 
			
		||||
                l = line.split()
 | 
			
		||||
                if l[0] == 'finished':
 | 
			
		||||
                    break
 | 
			
		||||
                if l[0] == 'remark':
 | 
			
		||||
                    # Ignore "no-op" hint, which sole purpose is to be
 | 
			
		||||
                    # found by hint grep (and show up in "d"'s
 | 
			
		||||
                    # output).
 | 
			
		||||
                    continue
 | 
			
		||||
                elif l[0] not in self.HINTS[who]:
 | 
			
		||||
                    continue
 | 
			
		||||
                elif len(l) == 1:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user