mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	iter_packages eat the list, so we need to pass a copy.
This commit is contained in:
		
							parent
							
								
									6abbd90bfc
								
							
						
					
					
						commit
						24674215cd
					
				@ -1574,7 +1574,7 @@ class Britney:
 | 
			
		||||
 | 
			
		||||
        self.selected = []
 | 
			
		||||
        self.nuninst_orig = nuninst_start
 | 
			
		||||
        (nuninst_end, extra) = self.iter_packages(self.upgrade_me, output)
 | 
			
		||||
        (nuninst_end, extra) = self.iter_packages(self.upgrade_me[:], output)
 | 
			
		||||
 | 
			
		||||
        if nuninst_end:
 | 
			
		||||
            output.write("final: %s\n" % ",".join(self.selected))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user