From f2b0f5db230e8fdfec3f5fa0fcc53766582daf6b Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 7 Apr 2009 23:48:55 +0200 Subject: Removed the obsolete single unittest and the unique_array function --- portato/backend/portage/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'portato/backend/portage/system.py') 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 -- cgit v1.2.3-54-g00ecf