summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-01-15 14:15:21 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-01-15 14:15:21 +0100
commitc20d0bc4acc7166ae167f4eae723bc24c30c9e1f (patch)
tree7710f93f2fd11c6b3f9e615bbfbf8257ec24008a /portato
parent53ae2f1d9d14d9b824a0be96005dca12153b9efa (diff)
downloadportato-c20d0bc4acc7166ae167f4eae723bc24c30c9e1f.tar.gz
portato-c20d0bc4acc7166ae167f4eae723bc24c30c9e1f.tar.bz2
portato-c20d0bc4acc7166ae167f4eae723bc24c30c9e1f.zip
Small changes #2
Diffstat (limited to '')
-rw-r--r--portato/backend/portage/package.py7
1 files changed, 2 insertions, 5 deletions
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)