diff options
Diffstat (limited to 'pym/portage/cvstree.py')
-rw-r--r-- | pym/portage/cvstree.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/portage/cvstree.py b/pym/portage/cvstree.py index a35c5fcf1..0fd2a54c5 100644 --- a/pym/portage/cvstree.py +++ b/pym/portage/cvstree.py @@ -252,7 +252,11 @@ def getentries(mydir,recursive=0): print mydir,file if os.path.isdir(mydir+"/"+file): if file not in entries["dirs"]: - entries["dirs"][file]={"dirs":{},"files":{}} + # It's normal for a directory to be unlisted in Entries + # when checked out without -P (see bug #257660). + rentries=getentries(mydir+"/"+file,recursive) + entries["dirs"][file]["dirs"]=rentries["dirs"] + entries["dirs"][file]["files"]=rentries["files"] if "status" in entries["dirs"][file]: if "exists" not in entries["dirs"][file]["status"]: entries["dirs"][file]["status"]+=["exists"] |