summaryrefslogtreecommitdiff
path: root/portato/backend
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-07-27 22:06:48 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-07-27 22:06:48 +0200
commit889f9c6a92e2744a67d056ef4f0a7ccd93673670 (patch)
treeddcc5324bfbb83591eb52d9696f54c972051f6cc /portato/backend
parentc12eb83bc74ede2148e43cb428a401cdbfd650a7 (diff)
downloadportato-889f9c6a92e2744a67d056ef4f0a7ccd93673670.tar.gz
portato-889f9c6a92e2744a67d056ef4f0a7ccd93673670.tar.bz2
portato-889f9c6a92e2744a67d056ef4f0a7ccd93673670.zip
portage.Set.getAtoms() does not return strings...
Diffstat (limited to '')
-rw-r--r--portato/backend/portage/sets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/portato/backend/portage/sets.py b/portato/backend/portage/sets.py
index 7984d3d..24ceaca 100644
--- a/portato/backend/portage/sets.py
+++ b/portato/backend/portage/sets.py
@@ -13,6 +13,7 @@
from __future__ import absolute_import, with_statement
import re
+import itertools as itt
import portage
try:
@@ -71,7 +72,7 @@ class PortageSet (FilterSet):
self.portageSet = system.settings.setsconfig.getSets()[name]
def get_list(self):
- return self.portageSet.getAtoms()
+ return itt.imap(str, self.portageSet.getAtoms())
class SystemSet (FilterSet):