summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-20 18:13:06 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-20 18:13:06 +0000
commitaa2c1713881e41804595cf9559a4d6b45939b723 (patch)
tree0703a5a6ac4ee02dac67b13e2f4b6beee676d443
parenta5e33fbe65efcc598872807d666659ec5044c19f (diff)
downloadportage-aa2c1713881e41804595cf9559a4d6b45939b723.tar.gz
portage-aa2c1713881e41804595cf9559a4d6b45939b723.tar.bz2
portage-aa2c1713881e41804595cf9559a4d6b45939b723.zip
Add back a line which I erroneously removed when committing the patch for
bug 203733. Thanks to Alexis Ballier <aballier@g.o> for reporting the related KeyError. svn path=/main/trunk/; revision=14297
-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)