mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 02:24:24 +00:00 
			
		
		
		
	Attempt to get swift results working properly by using a workaround from security-britney.
This commit is contained in:
		
							parent
							
								
									e0fb5d8816
								
							
						
					
					
						commit
						08a27a5456
					
				@ -894,7 +894,8 @@ class AutopkgtestPolicy(BasePolicy):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        # request new results from swift
 | 
					        # request new results from swift
 | 
				
			||||||
        url = os.path.join(swift_url, self.swift_container)
 | 
					        url = os.path.join(swift_url, self.swift_container)
 | 
				
			||||||
        url += '?' + urllib.parse.urlencode(query)
 | 
					        # XXX: Workaround for PS5 swift deployment - container name needs to be suffixed with /
 | 
				
			||||||
 | 
					        url += '/?' + urllib.parse.urlencode(query)
 | 
				
			||||||
        f = None
 | 
					        f = None
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            f = self.download_retry(url)
 | 
					            f = self.download_retry(url)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user