Loading ccnode/node.py +3 −3 Original line number Diff line number Diff line Loading @@ -229,11 +229,11 @@ class MainLoop(object): # RPC handlers definitions @threadless def sub_tags(self, sub_id, tags=None, noresolve_tags=None): def sub_tags(self, sub_id, tags=None): if sub_id == '__main__': # FIXME should we raise ? logger.debug('Invalid request for sub object') return return {} sub_db = self.tag_db.get(sub_id) if sub_db is None: Loading @@ -241,7 +241,7 @@ class MainLoop(object): logger.debug('Failed to find sub_id %s', sub_id) return {} return get_tags(sub_db, tags, noresolve_tags) return get_tags(sub_db, tags) # End RPC handlers definitions def reset_handler(self, name, handl): Loading Loading
ccnode/node.py +3 −3 Original line number Diff line number Diff line Loading @@ -229,11 +229,11 @@ class MainLoop(object): # RPC handlers definitions @threadless def sub_tags(self, sub_id, tags=None, noresolve_tags=None): def sub_tags(self, sub_id, tags=None): if sub_id == '__main__': # FIXME should we raise ? logger.debug('Invalid request for sub object') return return {} sub_db = self.tag_db.get(sub_id) if sub_db is None: Loading @@ -241,7 +241,7 @@ class MainLoop(object): logger.debug('Failed to find sub_id %s', sub_id) return {} return get_tags(sub_db, tags, noresolve_tags) return get_tags(sub_db, tags) # End RPC handlers definitions def reset_handler(self, name, handl): Loading