From da138a749908cb653de6f1b96c806bab5bd0f7d3 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 17 Apr 2008 10:45:22 +0200 Subject: Make get_package_settings take an 'installed' argument instead of a tree --- portato/backend/package.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'portato/backend/package.py') diff --git a/portato/backend/package.py b/portato/backend/package.py index 16148d2..4dc439a 100644 --- a/portato/backend/package.py +++ b/portato/backend/package.py @@ -369,13 +369,13 @@ class Package (_Package): raise NotImplementedError - def get_package_settings(self, var, tree = None): + def get_package_settings(self, var, installed = True): """Returns a package specific setting, such as DESCRIPTION, SRC_URI, IUSE ... @param var: the setting to get @type var: string - @param tree: an object defining whether to take the information from the installed package or from the ebuild - @type tree: unknown + @param installed: take the vartree or the porttree + @type installed: boolean @returns: the value of the setting @rtype: string""" -- cgit v1.2.3-54-g00ecf