Commit d0a78ca0 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Removed duplicated values

   Contributed by Romain
parent fa62ab67
...@@ -8,4 +8,4 @@ for software_installation in context.getPortalObject().portal_catalog( ...@@ -8,4 +8,4 @@ for software_installation in context.getPortalObject().portal_catalog(
url_string = software_installation.getUrlString() url_string = software_installation.getUrlString()
if url_string: if url_string:
url_string_list.append(url_string) url_string_list.append(url_string)
return url_string_list return list(set(url_string_list))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment