* fix: return set, instead of list

This commit is contained in:
Eray Özkural
2006-05-02 16:53:54 +00:00
parent 43869a5d73
commit cc93ac772a
+1 -1
View File
@@ -142,7 +142,7 @@ def finalize():
def list_available(repo = None):
'''returns a set of available package names'''
return ctx.packagedb.list_packages(repo = repo)
return set(ctx.packagedb.list_packages(repo = repo))
def list_upgradable():
ignore_build = ctx.get_option('ignore_build_no')