continue
worldlist=grabfile("/"+WORLD_FILE)
- myupd = map(lambda x: x.split(), grabfile(mykey))
+ myupd = []
+ mylines = grabfile(mykey)
db["/"]["bintree"]=binarytree("/",settings["PKGDIR"],virts)
- for mysplit in myupd:
+ for myline in mylines:
+ mysplit = myline.split()
+ myupd.append(mysplit)
if not len(mysplit):
continue
if mysplit[0]!="move" and mysplit[0]!="slotmove":
db["/"]["bintree"].move_ent(mysplit)
except portage_exception.InvalidPackageName, e:
writemsg("\nERROR: Malformed update entry '%s'\n" % myline)
- myupd.remove(mysplit) # myupd is used by fixpackages later
+ myupd.pop() # myupd is used by fixpackages later
continue
#update world entries:
for x in range(0,len(worldlist)):