mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 10:34:05 +00:00 
			
		
		
		
	smooth updates: pass a list of MigrationItems to remove, not strings
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
		
							parent
							
								
									0fa6e4c3fb
								
							
						
					
					
						commit
						d62f8f6bcc
					
				@ -2652,7 +2652,7 @@ class Britney:
 | 
			
		||||
            if len(removals) > 0:
 | 
			
		||||
                self.output_write("Removing packages left in testing for smooth updates (%d):\n%s" % \
 | 
			
		||||
                    (len(removals), self.old_libraries_format(removals)))
 | 
			
		||||
                self.do_all(actions=removals)
 | 
			
		||||
                self.do_all(actions=[ MigrationItem(x) for x in removals ])
 | 
			
		||||
                removals = self.old_libraries()
 | 
			
		||||
        else:
 | 
			
		||||
            removals = ()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user