Lines 338-344
Link Here
|
338 |
if repos_conf_opts is not None: |
338 |
if repos_conf_opts is not None: |
339 |
# Selectively copy only the attributes which |
339 |
# Selectively copy only the attributes which |
340 |
# repos.conf is allowed to override. |
340 |
# repos.conf is allowed to override. |
341 |
for k in ('aliases', 'eclass_overrides', 'masters'): |
341 |
for k in ('aliases', 'eclass_overrides', 'masters', 'priority'): |
342 |
v = getattr(repos_conf_opts, k, None) |
342 |
v = getattr(repos_conf_opts, k, None) |
343 |
if v is not None: |
343 |
if v is not None: |
344 |
setattr(repo, k, v) |
344 |
setattr(repo, k, v) |
Lines 353-359
Link Here
|
353 |
|
353 |
|
354 |
if ov == portdir and portdir not in port_ov: |
354 |
if ov == portdir and portdir not in port_ov: |
355 |
repo.priority = -1000 |
355 |
repo.priority = -1000 |
356 |
else: |
356 |
elif repo.priority is None: |
357 |
repo.priority = base_priority |
357 |
repo.priority = base_priority |
358 |
base_priority += 1 |
358 |
base_priority += 1 |
359 |
|
359 |
|