- Timestamp:
- Mar 10, 2017, 9:50:08 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/loadStore.py
r3880 r3881 89 89 pkg=app.get_pkgname_default() 90 90 if pkg in uniqDict.keys(): 91 fn=app.get_id_filename() 91 fn=app.get_id_filename() 92 92 self._debug("Comparing "+fn+" with "+uniqDict[pkg]['fn']) 93 93 if fn != uniqDict[pkg]['fn']: 94 94 if fn != pkg: 95 self._debug("Removed "+app.get_id())95 self._debug("Removed duplicated"+app.get_id()) 96 96 store.remove_app(app) 97 97 else: 98 self._debug("Removed "+uniqDict[pkg]['app'].get_id())98 self._debug("Removed duplicated"+uniqDict[pkg]['app'].get_id()) 99 99 store.remove_app(uniqDict[pkg]['app']) 100 100 uniqDict.update({pkg:{'fn':app.get_id_filename(),'app':app}}) 101 101 elif pkg: 102 print("Adding "+pkg)103 102 uniqDict.update({pkg:{'fn':app.get_id_filename(),'app':app}}) 104 103 #Check the blacklist
Note: See TracChangeset
for help on using the changeset viewer.