Changeset 3848
- Timestamp:
- Mar 9, 2017, 12:32:07 PM (4 years ago)
- Location:
- lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/debManager.py
r3839 r3848 126 126 127 127 def _get_App_Info(self,appInfo,app,appsCount=0): 128 info=app.get_info() 129 appInfo['status']=info.to_string(info) 130 self._debug("Status: "+appInfo['status']) 128 try: 129 info=app.get_info() 130 appInfo['status']=info.to_string(info) 131 self._debug("Status: "+appInfo['status']) 132 except: 133 self._debug("Status: not available") 134 pass 131 135 #Only search dependencies if there's only one package on the package queue 132 136 if appsCount==1: -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/infoManager.py
r3813 r3848 53 53 for app in applist: 54 54 appInfo=self._init_appInfo() 55 self._debug("Gathering package info for "+app.get_id())55 # self._debug("Gathering package info for "+app.get_id()) 56 56 if app.get_id(): 57 57 appInfo['id']=app.get_id() -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/plugins/zmdManager.py
r3678 r3848 18 18 self.n4dclient='' 19 19 self.result={} 20 self.result['data']= {}20 self.result['data']=[] 21 21 self.result['status']={} 22 22 #def __init__ … … 168 168 if n4dvars[key]['state']==1: 169 169 appInfo['status']='Installed' 170 171 self._set_status(6) 172 self.result['data'].append(appInfo) 170 173 return(appInfo) 171 174 #def _get_Zmd_Info -
lliurex-store/trunk/fuentes/python3-lliurex-store.install/usr/share/lliurexstore/storeManager.py
r3842 r3848 273 273 #put a 100% just in case 274 274 if parentAction in self.progressActions.keys(): 275 # if self.progressActions[parentAction]:276 # self.progressActions[parentAction]=100277 275 self.progressActions[parentAction]=100 278 276 self.lock.release() … … 372 370 if (package_type=='deb' and fullsearch==False): 373 371 continue 374 self._debug("Retrieving info for "+str(typeDict[package_type])) 375 pkgInfoFunction=self._execute_class_method(action,package_type,launchedby) 376 applistInfo=pkgInfoFunction.execute_action(action,typeDict[package_type])['data'] 372 # self._debug("Retrieving info for "+str(typeDict[package_type])) 373 backup_applist=applistInfo 374 try: 375 pkgInfoFunction=self._execute_class_method(action,package_type,launchedby) 376 applistInfo=pkgInfoFunction.execute_action(action,typeDict[package_type])['data'] 377 except: 378 applistInfo=backup_applist 377 379 return(applistInfo) 378 380 #def _get_Extended_App_Info … … 404 406 # - List of dicts with all the info 405 407 #### 406 def _search_Store(self,searchItem='',action='search',fullsearch=False,launchedby=None ):408 def _search_Store(self,searchItem='',action='search',fullsearch=False,launchedby=None,exact_match=True): 407 409 applist={} 408 410 result={} … … 419 421 if not launchedby: 420 422 launchedby=action 421 #Set the exact match to false for search method 422 exact_match=True 423 if (launchedby=='search'): 424 exact_match=False 423 #Set the exact match to false for search and list methods 424 if (launchedby=='search' or launchedby=='list'): 425 exact_match=False 425 426 searchFunction=self._execute_class_method(action,'*',launchedby) 426 427 aux_result=searchFunction.execute_action(self.store,action,searchItem,exact_match) … … 508 509 #Standalone installers must have the subcategory "installer" 509 510 #Zomandos must have the subcategory "Zomando" 510 self._debug("Checking package type for app "+appInfo['name'])511 # self._debug("Checking package type for app "+appInfo['name']) 511 512 if "Zomando" in appInfo['categories']: 512 513 return_msg="zmd"
Note: See TracChangeset
for help on using the changeset viewer.