summaryrefslogtreecommitdiff
path: root/portato/backend/package.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-04-17 10:45:22 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-04-17 10:45:22 +0200
commitda138a749908cb653de6f1b96c806bab5bd0f7d3 (patch)
tree6fa8ee99930bb90aa761aa514168231aa3a0bf82 /portato/backend/package.py
parentc8ab8375fe4f719ca484b0f395fd3812c73444aa (diff)
downloadportato-da138a749908cb653de6f1b96c806bab5bd0f7d3.tar.gz
portato-da138a749908cb653de6f1b96c806bab5bd0f7d3.tar.bz2
portato-da138a749908cb653de6f1b96c806bab5bd0f7d3.zip
Make get_package_settings take an 'installed' argument instead of a tree
Diffstat (limited to 'portato/backend/package.py')
-rw-r--r--portato/backend/package.py6
1 files changed, 3 insertions, 3 deletions
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"""