--- portage.py.orig 2005-07-30 01:03:18.000000000 +0800 +++ portage.py.orig 2005-07-30 01:03:29.000000000 +0800 @@ -6031,8 +6031,9 @@ try: mydat[1]=os.path.normpath(root+mydat[1][1:]) if mydat[0]=="obj": - #format: type, mtime, md5sum - pkgfiles[string.join(mydat[1:-2]," ")]=[mydat[0], mydat[-1], mydat[-2]] + if len(mydat) >= 4: + #format: type, mtime, md5sum + pkgfiles[string.join(mydat[1:-2]," ")]=[mydat[0], mydat[-1], mydat[-2]] elif mydat[0]=="dir": #format: type pkgfiles[string.join(mydat[1:])]=[mydat[0] ]