Changeset 8705 for lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/snapManager.py
- Timestamp:
- Jun 26, 2019, 12:45:15 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/snapManager.py
r8703 r8705 276 276 stable_pkgs=[] 277 277 for section in sections: 278 apps ,curr=self.snap_client.find_section_sync(Snapd.FindFlags.MATCH_NAME,section,None)278 apps=self.snap_client.find_section_sync(Snapd.FindFlags.MATCH_NAME,section,None) 279 279 for pkg in apps: 280 280 stable_pkgs.append(pkg) … … 292 292 while 'Snapd' not in str(type(wrap)): 293 293 time.sleep(0.1) 294 snaps ,curr=self.snap_client.find_finish(wrap)294 snaps=self.snap_client.find_finish(wrap) 295 295 if type(snaps)!=type([]): 296 296 pkgs=[snaps] … … 315 315 pkgs=None 316 316 try: 317 pkgs ,curr=self.snap_client.find_sync(Snapd.FindFlags.MATCH_NAME,tokens,None)317 pkgs=self.snap_client.find_sync(Snapd.FindFlags.MATCH_NAME,tokens,None) 318 318 except Exception as e: 319 319 print("ERR: %s"%e)
Note: See TracChangeset
for help on using the changeset viewer.