Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 209375
Collapse All | Expand All

(-)modules/netboot2_target.py (-1 / +15 lines)
Lines 29-37 Link Here
29
					loopy=[addlargs["netboot2/packages"]]
29
					loopy=[addlargs["netboot2/packages"]]
30
				else:
30
				else:
31
					loopy=addlargs["netboot2/packages"]
31
					loopy=addlargs["netboot2/packages"]
32
33
				for x in loopy:
32
				for x in loopy:
34
					self.valid_values.append("netboot2/packages/"+x+"/files")
33
					self.valid_values.append("netboot2/packages/"+x+"/files")
34
35
			if addlargs.has_key("boot/kernel"):
36
				if type(addlargs["boot/kernel"]) == types.StringType:
37
					loopy=[addlargs["boot/kernel"]]
38
				else:
39
					loopy=addlargs["boot/kernel"]
40
				
41
				for kname in loopy:
42
					if addlargs.has_key("boot/kernel/"+kname+"/packages"):
43
						if type(addlargs["boot/kernel/"+kname+"/packages"]) == types.StringType:
44
							loopy2=[addlargs["boot/kernel/"+kname+"/packages"]]
45
						else:
46
							loopy2=addlargs["boot/kernel/"+kname+"/packages"]
47
						for x in loopy2:
48
							self.valid_values.append("netboot2/packages/"+x+"/files")
35
		except:
49
		except:
36
			raise CatalystError,"configuration error in netboot2/packages."
50
			raise CatalystError,"configuration error in netboot2/packages."
37
		
51
		

Return to bug 209375