From: Zac Medico Date: Sun, 20 Sep 2009 18:13:06 +0000 (-0000) Subject: Add back a line which I erroneously removed when committing the patch for X-Git-Tag: v2.2_rc42~105 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa2c1713881e41804595cf9559a4d6b45939b723;p=portage.git 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 --- 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)