Lines 37-43
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 |
attrib = attrib.strip().strip('"') |
41 |
value = value.strip().strip('"') |
42 |
value = value.strip().strip('"') |
42 |
if attrib == "rsync_timeout": |
43 |
if attrib == "rsync_timeout": |
43 |
self.rsync_timeout = value |
44 |
self.rsync_timeout = value |
Lines 89-95
Link Here
|
89 |
if x.find("=") == -1 or \ |
90 |
if x.find("=") == -1 or \ |
90 |
(len(x) and x[0] == "#"): |
91 |
(len(x) and x[0] == "#"): |
91 |
continue |
92 |
continue |
92 |
attrib,value = x.split("=") |
93 |
(attrib, value) = x.split("=") |
|
|
94 |
attrib = attrib.strip().strip('"') |
93 |
value = value.strip().strip('"') |
95 |
value = value.strip().strip('"') |
94 |
if attrib == "id": |
96 |
if attrib == "id": |
95 |
self.id = value |
97 |
self.id = value |