- Timestamp:
- Mar 9, 2017, 6:31:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/loadStore.py
r3867 r3870 76 76 def _sanitize_store(self,store): 77 77 applist=store.get_apps() 78 uniqlist=[] 78 79 for app in applist: 79 80 #Remove apps whitout pkgname … … 84 85 self._debug("Removed addon "+str(app.get_pkgnames())) 85 86 store.remove_app(app) 87 #Remove duplicated apps (as in gnome-store) 88 #We assume that default_source=pkgname_default, although this should not be relied upon. 89 if app.get_pkgname_default() in uniqlist: 90 store.remove_app(app) 91 else: 92 uniqlist.append(app.get_pkgname_default()) 93 94 86 95 #Check the blacklist 87 96 try:
Note: See TracChangeset
for help on using the changeset viewer.