Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 44777 | Differences between
and this patch

Collapse All | Expand All

(-)gentoolkit-dev-0.2.0_pre2/src/gensync/gensync (-3 / +10 lines)
Lines 37-44 Link Here
37
				if x.find("=") == -1 or \
37
				if x.find("=") == -1 or \
38
				       (len(x) and x[0] == "#"):
38
				       (len(x) and x[0] == "#"):
39
					continue
39
					continue
40
				(attrib, value) = x.split()
40
				(attrib, value) = x.split('=')
41
				value = value.strip().strip('"')
41
				value = value.strip('"').strip(' '). \
42
					strip('\n').strip('\t')
43
				attrib = attrib.strip('"').strip(' '). \
44
					strip('\n').strip('\t')
45
				print "Stripped value: " + "'" + value + "'"
42
				if attrib == "rsync_timeout":
46
				if attrib == "rsync_timeout":
43
					self.rsync_timeout = value
47
					self.rsync_timeout = value
44
				elif attrib == "base_overlay":
48
				elif attrib == "base_overlay":
Lines 90-96 Link Here
90
			       (len(x) and x[0] == "#"):
94
			       (len(x) and x[0] == "#"):
91
				continue
95
				continue
92
			attrib,value = x.split("=")
96
			attrib,value = x.split("=")
93
			value = value.strip().strip('"')
97
			value = value.strip('"').strip(' '). \
98
				strip('\n').strip('\t')
99
			attrib = attrib.strip('"').strip(' '). \
100
				strip('\n').strip('\t')
94
			if attrib == "id":
101
			if attrib == "id":
95
				self.id = value
102
				self.id = value
96
			elif attrib == "description":
103
			elif attrib == "description":

Return to bug 44777