Lines 809-815
Link Here
|
809 |
del final_dict[y][final_dict[y].index(thing[1:])] |
809 |
del final_dict[y][final_dict[y].index(thing[1:])] |
810 |
else: |
810 |
else: |
811 |
if thing not in final_dict[y]: |
811 |
if thing not in final_dict[y]: |
812 |
final_dict[y].insert(0,thing) |
812 |
final_dict[y].append(thing) |
813 |
elif (stuff == None): |
813 |
elif (stuff == None): |
814 |
if all_must_exist: |
814 |
if all_must_exist: |
815 |
return None |
815 |
return None |
Lines 1530-1541
Link Here
|
1530 |
# from. So the only ROOT prefixed dir should be local configs. |
1530 |
# from. So the only ROOT prefixed dir should be local configs. |
1531 |
#myvirtdirs = prefix_array(self.profiles,myroot+"/") |
1531 |
#myvirtdirs = prefix_array(self.profiles,myroot+"/") |
1532 |
myvirtdirs = copy.deepcopy(self.profiles) |
1532 |
myvirtdirs = copy.deepcopy(self.profiles) |
|
|
1533 |
myvirtdirs.reverse() |
1533 |
|
1534 |
|
1534 |
# repoman doesn't need local virtuals. |
1535 |
# repoman doesn't need local virtuals. |
1535 |
if os.environ.has_key("PORTAGE_CALLER") and os.environ["PORTAGE_CALLER"] == "repoman": |
1536 |
if os.environ.has_key("PORTAGE_CALLER") and os.environ["PORTAGE_CALLER"] == "repoman": |
1536 |
pass |
1537 |
pass |
1537 |
else: |
1538 |
else: |
1538 |
myvirtdirs.append(myroot+"/var/cache/edb") |
1539 |
myvirtdirs.insert(0,myroot+"/var/cache/edb") |
1539 |
|
1540 |
|
1540 |
return grab_stacked("virtuals",myvirtdirs,grabdict) |
1541 |
return grab_stacked("virtuals",myvirtdirs,grabdict) |
1541 |
|
1542 |
|