summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-22 20:47:11 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-22 20:47:11 +0000
commitccd74312f34433350a3d5b7e05fd3f154ca1b582 (patch)
treed94a3c3a0917214d00c030994ef1b758d97da23e
parent151192525a264e4bfdf92aee215045a5aaecab33 (diff)
downloadportage-ccd74312f34433350a3d5b7e05fd3f154ca1b582.tar.gz
portage-ccd74312f34433350a3d5b7e05fd3f154ca1b582.tar.bz2
portage-ccd74312f34433350a3d5b7e05fd3f154ca1b582.zip
Remove code that's been commented out.
svn path=/main/trunk/; revision=14383
-rw-r--r--pym/portage/cvstree.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/pym/portage/cvstree.py b/pym/portage/cvstree.py
index 87724adf1..da8b40e15 100644
--- a/pym/portage/cvstree.py
+++ b/pym/portage/cvstree.py
@@ -235,9 +235,6 @@ def getentries(mydir,recursive=0):
entries["dirs"][mysplit[1]]["flags"]=mysplit[2:]
if recursive:
rentries=getentries(mydir+"/"+mysplit[1],recursive)
- #print rentries.keys()
- #print entries["files"].keys()
- #print entries["files"][mysplit[1]]
entries["dirs"][mysplit[1]]["dirs"]=rentries["dirs"]
entries["dirs"][mysplit[1]]["files"]=rentries["files"]
else:
@@ -315,18 +312,3 @@ def getentries(mydir,recursive=0):
print("File of unknown type:",mydir+"/"+file)
print()
return entries
-
-#class cvstree:
-# def __init__(self,basedir):
-# self.refdir=os.cwd()
-# self.basedir=basedir
-# self.entries={}
-# self.entries["dirs"]={}
-# self.entries["files"]={}
-# self.entries["dirs"][self.basedir]=getentries(self.basedir)
-# self.getrealdirs(self.dirs, self.files)
-# def getrealdirs(self,dirs,files):
-# for mydir in dirs.keys():
-# list = os.listdir(
-
-