comparison idavoll/backend.py @ 65:d617f8d19263

Add get_node_type() to BackendService.
author Ralph Meijer <ralphm@ik.nu>
date Sat, 06 Nov 2004 22:15:26 +0000
parents ad08e021b4d5
children a914cad421c5
comparison
equal deleted inserted replaced
64:0072fc44fca8 65:d617f8d19263
147 def supports_outcast_affiliation(self): 147 def supports_outcast_affiliation(self):
148 return True 148 return True
149 149
150 def supports_persistent_items(self): 150 def supports_persistent_items(self):
151 return True 151 return True
152
153 def get_node_type(self, node_id):
154 d = self.storage.get_node_type(node_id)
155 return d
152 156
153 class PublishService(service.Service): 157 class PublishService(service.Service):
154 158
155 __implements__ = IPublishService, 159 __implements__ = IPublishService,
156 160