Lines 34-39
Link Here
|
34 |
#List directory contents, using cache. (from dircache module; streamlined by drobbins) |
34 |
#List directory contents, using cache. (from dircache module; streamlined by drobbins) |
35 |
#Exceptions will be propogated to the caller. |
35 |
#Exceptions will be propogated to the caller. |
36 |
|
36 |
|
|
|
37 |
myuselist=[] |
38 |
|
37 |
dircache={} |
39 |
dircache={} |
38 |
def listdir(path): |
40 |
def listdir(path): |
39 |
try: |
41 |
try: |
Lines 414-419
Link Here
|
414 |
newdict[myline[0]]=myline[1:] |
416 |
newdict[myline[0]]=myline[1:] |
415 |
return newdict |
417 |
return newdict |
416 |
|
418 |
|
|
|
419 |
|
417 |
def grabints(myfilename): |
420 |
def grabints(myfilename): |
418 |
newdict={} |
421 |
newdict={} |
419 |
try: |
422 |
try: |
Lines 1802-1807
Link Here
|
1802 |
elif mysplit[mypos][-1]=="?": |
1805 |
elif mysplit[mypos][-1]=="?": |
1803 |
#uses clause, i.e "gnome? ( foo bar )" |
1806 |
#uses clause, i.e "gnome? ( foo bar )" |
1804 |
#this is a quick and dirty hack so that repoman can enable all USE vars: |
1807 |
#this is a quick and dirty hack so that repoman can enable all USE vars: |
|
|
1808 |
if (mysplit[mypos][0:-1] not in myuselist): |
1809 |
myuselist.append(mysplit[mypos][0:-1]) |
1805 |
if (len(myuse)==1) and (myuse[0]=="*"): |
1810 |
if (len(myuse)==1) and (myuse[0]=="*"): |
1806 |
#enable it even if it's ! (for repoman) |
1811 |
#enable it even if it's ! (for repoman) |
1807 |
enabled=1 |
1812 |
enabled=1 |
Lines 4172-4174
Link Here
|
4172 |
revmaskdict[mycatpkg].append(x) |
4177 |
revmaskdict[mycatpkg].append(x) |
4173 |
del pkglines |
4178 |
del pkglines |
4174 |
groups=settings["ACCEPT_KEYWORDS"].split() |
4179 |
groups=settings["ACCEPT_KEYWORDS"].split() |
|
|
4180 |
|