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

Collapse All | Expand All

(-)mirrorselect/main.py (-3 / +3 lines)
Lines 112-125 Link Here
112
			hosts = [x.decode('utf-8') for x in hosts]
112
			hosts = [x.decode('utf-8') for x in hosts]
113
113
114
		if var == "sync-uri" and out:
114
		if var == "sync-uri" and out:
115
			mirror_string = '%s = %s' % (var, ' '.join(hosts))
115
			mirror_string = '%s = %s' % (var, ' '.join(map(str, hosts)))
116
		else:
116
		else:
117
			mirror_string = '%s="%s"' % (var, ' '.join(hosts))
117
			mirror_string = '%s="%s"' % (var, ' '.join(map(str, hosts)))
118
118
119
		if out:
119
		if out:
120
			self.write_to_output(mirror_string)
120
			self.write_to_output(mirror_string)
121
		elif var == "sync-uri":
121
		elif var == "sync-uri":
122
			write_repos_conf(self.output, config_path, var, ' '.join(hosts))
122
			write_repos_conf(self.output, config_path, var, ' '.join(map(str, hosts)))
123
		else:
123
		else:
124
			write_make_conf(self.output, config_path, var, mirror_string)
124
			write_make_conf(self.output, config_path, var, mirror_string)
125
125

Return to bug 610016