summaryrefslogtreecommitdiff
path: root/geneticone/helper.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--geneticone/helper.py14
1 files changed, 12 insertions, 2 deletions
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. <necoro@necoro.net> 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."""