[PATCH 3/8] Remove duplicate entries from search combo boxes
David Shea
dshea at redhat.com
Thu Jun 4 19:57:39 UTC 2015
(cherry picked from commit 9ae5562bf77e427495222b84b065f765699ed1d2)
Resolves: rhbz#1168950
---
pyanaconda/ui/gui/spokes/filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/filter.py b/pyanaconda/ui/gui/spokes/filter.py
index a1604bb..bbd7f0c 100644
--- a/pyanaconda/ui/gui/spokes/filter.py
+++ b/pyanaconda/ui/gui/spokes/filter.py
@@ -130,7 +130,7 @@ class FilterPage(object):
repeatedly. The first item in the list will be selected by default.
"""
combo.remove_all()
- for i in sorted(items):
+ for i in sorted(set(items)):
combo.append_text(i)
if items:
--
2.1.0
More information about the anaconda-patches
mailing list