From c20d0bc4acc7166ae167f4eae723bc24c30c9e1f Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Thu, 15 Jan 2009 14:15:21 +0100 Subject: Small changes #2 --- portato/backend/portage/package.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'portato/backend') diff --git a/portato/backend/portage/package.py b/portato/backend/portage/package.py index 4cf3d12..2c913f9 100644 --- a/portato/backend/portage/package.py +++ b/portato/backend/portage/package.py @@ -170,12 +170,9 @@ class PortagePackage (Package): depstring = "" try: - for d in depvar: - depstring += self.get_package_settings(d, installed = False)+" " + depstring = " ".join(self.get_package_settings(d, installed = False) for d in depvar) except KeyError: # not found in porttree - use vartree - depstring = "" - for d in depvar: - depstring += self.get_package_settings(d, installed = True)+" " + depstring = " ".join(self.get_package_settings(d, installed = True) for d in depvar) deps = portage.dep_check(depstring, None, self._settings.settings, myuse = actual, trees = self._trees) -- cgit v1.2.3-70-g09d2