'filtered_auxdbkeys' should be a list to allow sorting.
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Mon, 21 Sep 2009 17:46:21 +0000 (17:46 -0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Mon, 21 Sep 2009 17:46:21 +0000 (17:46 -0000)
svn path=/main/trunk/; revision=14347

pym/portage/dbapi/porttree.py

index f0950ce95c8c29b4ba2fa788639523f9f6d602ee..40557de155d8a1b6b58c37e8868b8c3662052fbf 100644 (file)
@@ -340,7 +340,7 @@ class portdbapi(dbapi):
 
                # XXX: REMOVE THIS ONCE UNUSED_0 IS YANKED FROM auxdbkeys
                # ~harring
-               filtered_auxdbkeys = filter(lambda x: not x.startswith("UNUSED_0"), auxdbkeys)
+               filtered_auxdbkeys = list(filter(lambda x: not x.startswith("UNUSED_0"), auxdbkeys))
                filtered_auxdbkeys.sort()
                from portage.cache import metadata_overlay, volatile
                if not depcachedir_w_ok: