Changeset 3842 for lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/storeManager.py
- Timestamp:
- Mar 9, 2017, 9:22:39 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/storeManager.py
r3839 r3842 296 296 result[res]=self.result[res]['data'] 297 297 else: 298 self._debug("Checking result for action "+action) 298 299 if self.is_action_running(action): 299 300 self._join_action(action) … … 301 302 if action in self.result: 302 303 result[action]=self.result[action]['data'] 303 print (result[action])304 print("++++++++++++++++")305 304 self.lock.release() 306 305 return(result) … … 420 419 if not launchedby: 421 420 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 423 425 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) 429 427 aux_applist=aux_result['data'] 430 428 status=aux_result['status']
Note: See TracChangeset
for help on using the changeset viewer.