From: Marius Mauch Date: Fri, 25 Apr 2008 03:00:58 +0000 (-0000) Subject: remove unused function X-Git-Tag: v2.2_pre6~117 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=14eb82e92c809a502ef3de800dc96968c3543fad;p=portage.git remove unused function svn path=/main/trunk/; revision=9967 --- diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index fdf0f1168..3c287a7d6 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -521,14 +521,6 @@ class portdbapi(dbapi): l.sort() return l - def p_list(self,mycp): - d={} - for oroot in self.porttrees: - for x in listdir(oroot+"/"+mycp,EmptyOnError=1,ignorecvs=1): - if x[-7:]==".ebuild": - d[x[:-7]] = None - return d.keys() - def cp_list(self, mycp, use_cache=1, mytree=None): if self.frozen and mytree is None: cachelist = self.xcache["cp-list"].get(mycp)