From aa2c1713881e41804595cf9559a4d6b45939b723 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 20 Sep 2009 18:13:06 +0000 Subject: Add back a line which I erroneously removed when committing the patch for bug 203733. Thanks to Alexis Ballier for reporting the related KeyError. svn path=/main/trunk/; revision=14297 --- pym/portage/cvstree.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3-1-g7c22