summaryrefslogtreecommitdiff
path: root/portato/backend/portage
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-04-07 23:48:55 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-04-07 23:48:55 +0200
commitf2b0f5db230e8fdfec3f5fa0fcc53766582daf6b (patch)
tree9c837c9a9e7e32f904021e46a519e46885152b11 /portato/backend/portage
parent4ae9bd9a9c6ffca3301858b3c8d95ca4cf2b78dc (diff)
downloadportato-f2b0f5db230e8fdfec3f5fa0fcc53766582daf6b.tar.gz
portato-f2b0f5db230e8fdfec3f5fa0fcc53766582daf6b.tar.bz2
portato-f2b0f5db230e8fdfec3f5fa0fcc53766582daf6b.zip
Removed the obsolete single unittest and the unique_array function
Diffstat (limited to 'portato/backend/portage')
-rw-r--r--portato/backend/portage/system.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/backend/portage/system.py b/portato/backend/portage/system.py
index eae8465..7470fdc 100644
--- a/portato/backend/portage/system.py
+++ b/portato/backend/portage/system.py
@@ -23,7 +23,7 @@ from . import sets as syssets
from .package import PortagePackage
from .settings import PortageSettings
from ..system_interface import SystemInterface
-from ...helper import debug, info, warning, unique_array
+from ...helper import debug, info, warning
class PortageSystem (SystemInterface):
"""This class provides access to the portage-system."""
@@ -193,7 +193,7 @@ class PortageSystem (SystemInterface):
t += self.find_packages(search_key, self.SET_INSTALLED, only_cpv=True)
if t:
- t = unique_array(t)
+ t = list(set(t))
return self.find_best(t, only_cpv)
return None