mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-10-31 16:44:13 +00:00 
			
		
		
		
	Only flag an out-of-date package as possible NBS if the out-of-date version is also the maximum version across all architectures.
This commit is contained in:
		
							parent
							
								
									18edacf8b2
								
							
						
					
					
						commit
						02e9779d35
					
				
							
								
								
									
										10
									
								
								britney.py
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								britney.py
									
									
									
									
									
								
							| @ -1512,10 +1512,12 @@ class Britney(object): | ||||
|                 oodtxt = "" | ||||
|                 for v in oodbins.keys(): | ||||
|                     if oodtxt: oodtxt = oodtxt + "; " | ||||
|                     if source_t and same_source(source_t[VERSION], v): | ||||
|                         maybe_nbs = "" | ||||
|                     else: | ||||
|                         maybe_nbs = "; NBS?" | ||||
|                     maybe_nbs = "" | ||||
|                     if not source_t or same_source(source_t[VERSION], v): | ||||
|                         for pkg in oodbins[v]: | ||||
|                             if self.__maxver(pkg, suite) == v: | ||||
|                                 maybe_nbs = "; NBS?" | ||||
|                                 break | ||||
|                     oodtxt = oodtxt + "%s (from <a href=\"https://launchpad.net/ubuntu/+source/" \ | ||||
|                         "%s/%s\" target=\"_blank\">%s</a>%s)" % \ | ||||
|                         (", ".join(sorted(oodbins[v])), urllib.quote(src.split("/")[0]), urllib.quote(v), v, maybe_nbs) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user