Ignore:
Timestamp:
Sep 26, 2018, 5:01:45 PM (19 months ago)
Author:
Juanma
Message:

snapManager with threads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/searchManager.py

    r7433 r8139  
    130130                        categories_set=set(tokens)
    131131                        apps_in_store=self.store.get_apps()
     132                        if max_results:
     133                                apps_in_store=apps_in_store[0:max_results]
    132134                        count_apps=len(apps_in_store)
    133135                        self.progress=0
     
    163165#                       for app in applist:
    164166#                               self._debug("Added "+app.get_id())
    165                 if max_results:
    166                         applist=applist[0:max_results]
     167#               if max_results:
     168#                       applist=applist[0:max_results]
    167169                #List only valid categories
    168170
Note: See TracChangeset for help on using the changeset viewer.