mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	Completer: support all hints
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
		
							parent
							
								
									8c26798395
								
							
						
					
					
						commit
						22f39c75d6
					
				@ -28,7 +28,10 @@ class Completer(object):
 | 
			
		||||
        Creates a completer for a given britney.
 | 
			
		||||
        """
 | 
			
		||||
        self.matches = []
 | 
			
		||||
        self.cmds = ['easy', 'hint', 'force-hint', 'exit', 'quit']
 | 
			
		||||
        self.cmds = ['easy', 'hint', 'force-hint', 'force',
 | 
			
		||||
                     'force', 'age-days', 'urgent', 'block-all',
 | 
			
		||||
                     'block', 'block-udeb', 'unblock', 'unblock-udeb',
 | 
			
		||||
                     'exit', 'quit']
 | 
			
		||||
        self.britney = britney
 | 
			
		||||
        # generate a completion list from excuses.
 | 
			
		||||
        # - it might contain too many items, but meh
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user