mirror of
				https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
				synced 2025-11-04 02:24:24 +00:00 
			
		
		
		
	Provide default if ADT_PPAS option is absent
This commit is contained in:
		
							parent
							
								
									fc4ea9d159
								
							
						
					
					
						commit
						855387b013
					
				@ -479,7 +479,10 @@ class Britney(object):
 | 
			
		||||
            else:
 | 
			
		||||
                self.__log("Ignoring ADT_ARCHES %s as it is not in architectures list" % arch)
 | 
			
		||||
        self.options.adt_arches = adt_arches
 | 
			
		||||
        self.options.adt_ppas = self.options.adt_ppas.strip().split()
 | 
			
		||||
        try:
 | 
			
		||||
            self.options.adt_ppas = self.options.adt_ppas.strip().split()
 | 
			
		||||
        except AttributeError:
 | 
			
		||||
            self.options.adt_ppas = []
 | 
			
		||||
 | 
			
		||||
    def __log(self, msg, type="I"):
 | 
			
		||||
        """Print info messages according to verbosity level
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user