Loading ccserver/handlers.py +10 −8 Original line number Diff line number Diff line Loading @@ -85,14 +85,7 @@ class ClientHandler(OnlineCCHandler): return tuple(found_vm) @pure @listed def list(self, query): ''' List all objects registered on this instance. ''' logging.debug('Executed list function with query %s' % query) def _list(self, query): # Contains all the objects to be filted: objects = [] Loading Loading @@ -136,6 +129,15 @@ class ClientHandler(OnlineCCHandler): # Filter the objects with the query, and return it: return query.filter(objects) @pure @listed def list(self, query): ''' List all objects registered on this instance. ''' logging.debug('Executed list function with query %s' % query) return self._list(query) class AuthenticationError(Exception): pass Loading Loading
ccserver/handlers.py +10 −8 Original line number Diff line number Diff line Loading @@ -85,14 +85,7 @@ class ClientHandler(OnlineCCHandler): return tuple(found_vm) @pure @listed def list(self, query): ''' List all objects registered on this instance. ''' logging.debug('Executed list function with query %s' % query) def _list(self, query): # Contains all the objects to be filted: objects = [] Loading Loading @@ -136,6 +129,15 @@ class ClientHandler(OnlineCCHandler): # Filter the objects with the query, and return it: return query.filter(objects) @pure @listed def list(self, query): ''' List all objects registered on this instance. ''' logging.debug('Executed list function with query %s' % query) return self._list(query) class AuthenticationError(Exception): pass Loading