Lines 10-16
Link Here
|
10 |
from select import * |
10 |
from select import * |
11 |
from output import * |
11 |
from output import * |
12 |
from time import sleep |
12 |
from time import sleep |
13 |
import string,sys,os |
13 |
import string,sys,os,random |
14 |
|
14 |
|
15 |
ostype=os.uname()[0] |
15 |
ostype=os.uname()[0] |
16 |
if ostype=="Linux": |
16 |
if ostype=="Linux": |
Lines 1096-1101
Link Here
|
1096 |
return 1 |
1096 |
return 1 |
1097 |
global thirdpartymirrors |
1097 |
global thirdpartymirrors |
1098 |
mymirrors=settings["GENTOO_MIRRORS"].split() |
1098 |
mymirrors=settings["GENTOO_MIRRORS"].split() |
|
|
1099 |
random.shuffle(mymirrors) |
1100 |
mymirrors=settings["GENTOO_MIRRORS_LOCAL"].split()+mymirrors |
1099 |
fetchcommand=settings["FETCHCOMMAND"] |
1101 |
fetchcommand=settings["FETCHCOMMAND"] |
1100 |
resumecommand=settings["RESUMECOMMAND"] |
1102 |
resumecommand=settings["RESUMECOMMAND"] |
1101 |
fetchcommand=string.replace(fetchcommand,"${DISTDIR}",settings["DISTDIR"]) |
1103 |
fetchcommand=string.replace(fetchcommand,"${DISTDIR}",settings["DISTDIR"]) |