Changeset 3842


Ignore:
Timestamp:
Mar 9, 2017, 9:22:39 AM (2 years ago)
Author:
Juanma
Message:

wip

File:
1 edited

Legend:

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

    r3839 r3842  
    296296                                        result[res]=self.result[res]['data']
    297297                else:
     298                        self._debug("Checking result for action "+action)
    298299                        if self.is_action_running(action):
    299300                                self._join_action(action)
     
    301302                        if action in self.result:
    302303                                result[action]=self.result[action]['data']
    303                                 print (result[action])
    304                                 print("++++++++++++++++")
    305304                self.lock.release()
    306305                return(result)
     
    420419                if not launchedby:
    421420                        launchedby=action
    422 
     421                #Set the exact match to false for search method
     422                exact_match=True
     423                if (launchedby=='search'):
     424                                exact_match=False
    423425                searchFunction=self._execute_class_method(action,'*',launchedby)
    424                 if (launchedby=="install" or launchedby=='remove'):
    425                         #Last boolean parameter sets the exact_match_for_search attribute
    426                         aux_result=searchFunction.execute_action(self.store,action,searchItem,True)
    427                 else:
    428                         aux_result=searchFunction.execute_action(self.store,action,searchItem,False)
     426                aux_result=searchFunction.execute_action(self.store,action,searchItem,exact_match)
    429427                aux_applist=aux_result['data']
    430428                status=aux_result['status']
Note: See TracChangeset for help on using the changeset viewer.