@@ -131,7 +131,7 @@ def read(self, config_file):
131131components = components [1 :]or ['' ]
132132if base_url not in self .mirrors :
133133self .mirrors [base_url ]= {
134- suite : {c : [arch ]for c in components }}
134+ suite : {c :set ( [arch ]) for c in components }}
135135else :
136136mirror_data = self .mirrors [base_url ]
137137if suite not in mirror_data :
@@ -141,7 +141,7 @@ def read(self, config_file):
141141suite_data = mirror_data [suite ]
142142for c in components :
143143if c not in suite_data :
144- suite_data [c ]= [arch ]
144+ suite_data [c ]= set ( [arch ])
145145else :
146146suite_data [c ].add (arch )
147147continue
@@ -153,7 +153,7 @@ def read(self, config_file):
153153components = components [1 :]or ['' ]
154154if base_url not in self .mirrors :
155155self .mirrors [base_url ]= {
156- suite : {c : [arch ]for c in components }}
156+ suite : {c :set ( [arch ]) for c in components }}
157157else :
158158mirror_data = self .mirrors [base_url ]
159159if suite not in mirror_data :
@@ -163,7 +163,7 @@ def read(self, config_file):
163163suite_data = mirror_data [suite ]
164164for c in components :
165165if c not in suite_data :
166- suite_data [c ]= [arch ]
166+ suite_data [c ]= set ( [arch ])
167167else :
168168suite_data [c ].add (arch )
169169continue