comparison src/core/sat_main.py @ 951:027a054c6dda

core (disco): added checkFeature method + fixed hasFeature test
author Goffi <goffi@goffi.org>
date Mon, 31 Mar 2014 12:23:13 +0200
parents b4cd968e30fb
children 723f28cd15c7
comparison
equal deleted inserted replaced
950:5e8e8a034411 951:027a054c6dda
609 # the main difference with client.disco is that self.memory.disco manage cache 609 # the main difference with client.disco is that self.memory.disco manage cache
610 610
611 def hasFeature(self, *args, **kwargs): 611 def hasFeature(self, *args, **kwargs):
612 return self.memory.disco.hasFeature(*args, **kwargs) 612 return self.memory.disco.hasFeature(*args, **kwargs)
613 613
614 def checkFeature(self, *args, **kwargs):
615 return self.memory.disco.checkFeature(*args, **kwargs)
616
614 def getDiscoInfos(self, *args, **kwargs): 617 def getDiscoInfos(self, *args, **kwargs):
615 return self.memory.disco.getInfos(*args, **kwargs) 618 return self.memory.disco.getInfos(*args, **kwargs)
616 619
617 def getDiscoItems(self, *args, **kwargs): 620 def getDiscoItems(self, *args, **kwargs):
618 return self.memory.disco.getItems(*args, **kwargs) 621 return self.memory.disco.getItems(*args, **kwargs)