summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-01-15 14:10:55 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-01-15 14:10:55 +0100
commit53ae2f1d9d14d9b824a0be96005dca12153b9efa (patch)
tree3854401258252418532835d241f0b3906b8c7d0b /portato/backend
parente828764aa48543e849d601284e58ad6c775c0c23 (diff)
downloadportato-53ae2f1d9d14d9b824a0be96005dca12153b9efa.tar.gz
portato-53ae2f1d9d14d9b824a0be96005dca12153b9efa.tar.bz2
portato-53ae2f1d9d14d9b824a0be96005dca12153b9efa.zip
Small changes
Diffstat (limited to '')
-rw-r--r--portato/backend/portage/package.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/portato/backend/portage/package.py b/portato/backend/portage/package.py
index ba61cc0..4cf3d12 100644
--- a/portato/backend/portage/package.py
+++ b/portato/backend/portage/package.py
@@ -3,7 +3,7 @@
# File: portato/backend/portage/package.py
# This file is part of the Portato-Project, a graphical portage-frontend.
#
-# Copyright (C) 2006-2008 René 'Necoro' Neumann
+# Copyright (C) 2006-2009 René 'Necoro' Neumann
# 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.
@@ -195,9 +195,7 @@ class PortagePackage (Package):
# change the useflags, because we have internally changed some, but not made them visible for portage
actual = self.get_actual_use_flags()
- depstring = ""
- 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)
# let portage do the main stuff ;)
# pay attention to any changes here