Ignore:
Timestamp:
Mar 7, 2017, 1:07:33 PM (3 years ago)
Author:
Juanma
Message:

Refactorized is_action_running function

File:
1 edited

Legend:

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

    r3826 r3827  
    418418
    419419                searchFunction=self._execute_class_method(action,'*',launchedby)
    420                 aux_result=searchFunction.execute_action(self.store,action,searchItem)
     420                if (launchedby=="install" or launchedby=='remove'):
     421                        #Last boolean parameter sets the exact_match_for_search attribute
     422                        aux_result=searchFunction.execute_action(self.store,action,searchItem,True)
     423                else:
     424                        aux_result=searchFunction.execute_action(self.store,action,searchItem,False)
    421425                aux_applist=aux_result['data']
    422426                status=aux_result['status']
Note: See TracChangeset for help on using the changeset viewer.