From 5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Tue, 19 Sep 2006 21:19:27 +0000 Subject: Added licence informations. --- geneticone/helper.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'geneticone/helper.py') diff --git a/geneticone/helper.py b/geneticone/helper.py index 1b6fe71..e59ca98 100644 --- a/geneticone/helper.py +++ b/geneticone/helper.py @@ -1,5 +1,16 @@ #!/usr/bin/python +# +# File: geneticone/helper.py +# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# +# Copyright (C) 2006 Necoro d.M. +# This is free software. You may redistribute copies of it under the terms of +# the GNU General Public License version 2. +# There is NO WARRANTY, to the extent permitted by law. +# +# Written by Necoro d.M. et.al. + from geneticone import * import geneticone @@ -26,8 +37,7 @@ def find_lambda (name): def geneticize_list (list_of_packages): '''to convert the output of each gentoolkit helper function is a list of *geneticone* Package objects ''' - cpvs=[x.get_cpv() for x in list_of_packages] - return [geneticone.Package(x) for x in cpvs] + return [geneticone.Package(x) for x in list_of_packages] def find_best_match (search_key, only_installed = False): """Finds the best match in the portage tree.""" -- cgit v1.2.3-70-g09d2