Provide default if ADT_PPAS option is absent

bzr-import-20160707
Martin Pitt 9 years ago
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…
Cancel
Save