summaryrefslogtreecommitdiff
path: root/geneticone/backend
diff options
context:
space:
mode:
Diffstat (limited to 'geneticone/backend')
-rw-r--r--geneticone/backend/flags.py12
-rw-r--r--geneticone/backend/portage_helper.py2
2 files changed, 7 insertions, 7 deletions
diff --git a/geneticone/backend/flags.py b/geneticone/backend/flags.py
index 214faf9..20b63ef 100644
--- a/geneticone/backend/flags.py
+++ b/geneticone/backend/flags.py
@@ -24,7 +24,7 @@ from portage_util import unique_array
def grep (pkg, path):
"""Grep runs "egrep" on a given path and looks for occurences of a given package.
@param pkg: the package
- @type pkg: string (cpv) or L{geneticone.Package}-object
+ @type pkg: string (cpv) or L{backend.Package}-object
@param path: path to look in
@type path: string
@@ -40,7 +40,7 @@ def grep (pkg, path):
def get_data(pkg, path):
"""This splits up the data of L{grep} and builds tuples in the format (file,line,criterion,list_of_flags).
@param pkg: package to find
- @type pkg: string (cpv) or L{geneticone.Package}-object
+ @type pkg: string (cpv) or L{backend.Package}-object
@param path: path to look in
@type path: string
@@ -94,7 +94,7 @@ def set_use_flag (pkg, flag):
"""Sets the useflag for a given package.
@param pkg: the package
- @type pkg: string (cpv) or L{geneticone.Package}-object
+ @type pkg: string (cpv) or L{backend.Package}-object
@param flag: the flag to set
@type flag: string"""
@@ -162,7 +162,7 @@ def set_use_flag (pkg, flag):
def remove_new_use_flags (cpv):
"""Removes all new use-flags for a specific package.
@param cpv: the package for which to remove the flags
- @type cpv: string (cpv) or L{geneticone.Package}-object"""
+ @type cpv: string (cpv) or L{backend.Package}-object"""
if isinstance(cpv, package.Package):
cpv = cpv.get_cpv()
@@ -174,7 +174,7 @@ def remove_new_use_flags (cpv):
def get_new_use_flags (cpv):
"""Gets all the new use-flags for a specific package.
@param cpv: the package for which to remove the flags
- @type cpv: string (cpv) or L{geneticone.Package}-object
+ @type cpv: string (cpv) or L{backend.Package}-object
@returns: list of flags
@rtype: list"""
@@ -438,7 +438,7 @@ arch = ""
def set_testing (pkg, enable):
"""Enables the package for installing when it is marked as testing (~ARCH).
@param pkg: the package
- @type pkg: string (cpv) or L{geneticone.Package}-object
+ @type pkg: string (cpv) or L{backend.Package}-object
@param enable: controls whether to enable (True) or disable (False) for test-installing
@type enable: boolean"""
diff --git a/geneticone/backend/portage_helper.py b/geneticone/backend/portage_helper.py
index 3346aaf..5703875 100644
--- a/geneticone/backend/portage_helper.py
+++ b/geneticone/backend/portage_helper.py
@@ -33,7 +33,7 @@ def find_lambda (name):
return lambda x: True
def geneticize_list (list_of_packages):
- """Convertes a list of gentoolkit.Packages into L{geneticone.backend.Packages}.
+ """Convertes a list of gentoolkit.Packages into L{backend.Package}s.
@param list_of_packages: the list of packages
@type list_of_packages: list of gentoolkit.Packages
@returns: converted list
n title='2008-03-18 19:18:22 +0100'>2008-03-18Splitted windows.pyRené 'Necoro' Neumann10-424/+549 2008-03-12Moved get_dependencies to top package classRené 'Necoro' Neumann4-50/+85 2008-03-11improved performance by caching the use_expand queriesRené 'Necoro' Neumann1-5/+14 2008-03-11use catapult varsRené 'Necoro' Neumann2-4/+6 2008-03-11Updated catapult stuffRené 'Necoro' Neumann5-56/+108 2008-03-10Generate correct KeyNotFoundExceptionRené 'Necoro' Neumann1-2/+2 2008-03-09Small changesRené 'Necoro' Neumann3-1/+4 2008-03-07Better session handlingRené 'Necoro' Neumann1-5/+54 2008-03-07Small changesRené 'Necoro' Neumann1-1/+4 2008-03-07Updated shm module to 1.2René 'Necoro' Neumann1-8/+21 2008-03-07Update TODORené 'Necoro' Neumann1-3/+1 2008-03-07hmm ... yesRené 'Necoro' Neumann1-1/+1 2008-03-06Used better exceptions for configuration parserRené 'Necoro' Neumann1-26/+114 2008-03-06Update translationRené 'Necoro' Neumann2-349/+393 2008-03-06Update createpot.shRené 'Necoro' Neumann1-3/+2 2008-03-06Use 'nofork' instead of 'nolistener'René 'Necoro' Neumann1-3/+3 2008-03-05Install glade files into template dir and not data dirRené 'Necoro' Neumann2-2/+1 2008-03-05Added dependency listRené 'Necoro' Neumann3-117/+237