summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/cvstree.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/cvstree.py b/pym/portage/cvstree.py
index 1ecffa493..0dd8f10bc 100644
--- a/pym/portage/cvstree.py
+++ b/pym/portage/cvstree.py
@@ -254,6 +254,7 @@ 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)