summaryrefslogtreecommitdiff
path: root/geneticone/helper.py
diff options
context:
space:
mode:
authornecoro <>2006-09-19 21:19:27 +0000
committernecoro <>2006-09-19 21:19:27 +0000
commit5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12 (patch)
tree829dc4678711869c08215465149e55898abb382f /geneticone/helper.py
parent96bb19e776bf1c4663752ba9d8194000cd2e777e (diff)
downloadportato-5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12.tar.gz
portato-5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12.tar.bz2
portato-5134c7f1f86a1cb4594d3bffef7b9435ed4d3a12.zip
Added licence informations.
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."""