summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-01 18:30:22 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-01 18:30:22 +0000
commita630073e781c8bf472cdc4d4f81147fc95ba398b (patch)
tree8ae7638848028e07364e4352f34ac2303e077fd9 /bin
parente34773812f566001e57a6a60bd4482c230ce2191 (diff)
downloadportage-a630073e781c8bf472cdc4d4f81147fc95ba398b.tar.gz
portage-a630073e781c8bf472cdc4d4f81147fc95ba398b.tar.bz2
portage-a630073e781c8bf472cdc4d4f81147fc95ba398b.zip
Don't complain when $FILESDIR is missing unless manifest1 compatibility is enabled.
svn path=/main/trunk/; revision=6711
Diffstat (limited to 'bin')
-rwxr-xr-xbin/repoman13
1 files changed, 4 insertions, 9 deletions
diff --git a/bin/repoman b/bin/repoman
index f47911665..f56769451 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -796,15 +796,10 @@ for x in scanlist:
fails["file.UTF8"].append("%s/%s: line %i, just after: '%s'" % (checkdir, y, line, s))
if isCvs:
- try:
- mystat=os.stat(checkdir+"/files")[0]
- if len(ebuildlist) and not S_ISDIR(mystat):
- raise Exception
- except SystemExit, e:
- raise # Need to propogate this
- except:
- stats["filedir.missing"] += 1
- fails["filedir.missing"].append(checkdir)
+ if not os.path.isdir(os.path.join(checkdir, "files")):
+ if manifest1_compat:
+ stats["filedir.missing"] += 1
+ fails["filedir.missing"].append(checkdir)
continue
try:
myf=open(checkdir+"/CVS/Entries","r")