From 3edc5dd600f9181dc14b30bbf95f719f436bfd24 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 14 Nov 2008 04:46:12 +0000 Subject: [PATCH] Remove list_preserved_libs(). svn path=/main/branches/2.1.6/; revision=11895 --- bin/portageq | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/bin/portageq b/bin/portageq index 89d5b6444..0e66663d9 100755 --- a/bin/portageq +++ b/bin/portageq @@ -493,27 +493,6 @@ def get_repo_path(argv): for arg in argv[1:]: print portage.db[argv[0]]["porttree"].dbapi.getRepositoryPath(arg) -def list_preserved_libs(argv): - """ - Print a list of libraries preserved during a package update in the form - package: path. Returns 0 if no preserved libraries could be found, - 1 otherwise. - """ - - if len(argv) != 1: - print "ERROR: wrong number of arguments" - sys.exit(2) - mylibs = portage.db[argv[0]]["vartree"].dbapi.plib_registry.getPreservedLibs() - rValue = 0 - for cpv in mylibs: - print cpv, - for path in mylibs[cpv]: - print path, - rValue = 1 - print - return rValue -list_preserved_libs.uses_root = True - #----------------------------------------------------------------------------- # # DO NOT CHANGE CODE BEYOND THIS POINT - IT'S NOT NEEDED! -- 2.26.2