def set_packages(self): StageBase.set_packages(self) if self.settings["spec_prefix"]+"/packages" in self.settings: if isinstance(self.settings[self.settings['spec_prefix']+'/packages'], str): self.settings[self.settings["spec_prefix"]+"/packages"] = \ self.settings[self.settings["spec_prefix"]+"/packages"].split() self.settings[self.settings["spec_prefix"]+"/packages"].append("app-misc/livecd-tools")
def set_packages(self): StageBase.set_packages(self) if self.settings["spec_prefix"]+"/packages" in self.settings: if isinstance(self.settings[self.settings['spec_prefix']+'/packages'], str): self.settings[self.settings["spec_prefix"]+"/packages"] = \ self.settings[self.settings["spec_prefix"] + "/packages"].split()
def set_packages(self): StageBase.set_packages(self) if self.settings["spec_prefix"] + "/packages" in self.settings: if type(self.settings[self.settings["spec_prefix"] + "/packages"]) == types.StringType: self.settings[self.settings["spec_prefix"]+"/packages"] = \ self.settings[self.settings["spec_prefix"]+"/packages"].split() self.settings[self.settings["spec_prefix"] + "/packages"].append("app-misc/livecd-tools")