server/repository.py
branchstable
changeset 4689 4eb1f4490538
parent 4687 082e66184f71
child 4706 6035e96b64dd
equal deleted inserted replaced
4688:6ea3a3b21c6a 4689:4eb1f4490538
   445     def get_cubes(self):
   445     def get_cubes(self):
   446         """return the list of cubes used by this instance. This is a
   446         """return the list of cubes used by this instance. This is a
   447         public method, not requiring a session id.
   447         public method, not requiring a session id.
   448         """
   448         """
   449         versions = self.get_versions(not (self.config.creating
   449         versions = self.get_versions(not (self.config.creating
   450                                           or self.config.repairing))
   450                                           or self.config.repairing
       
   451                                           or self.config.mode == 'test'))
   451         cubes = list(versions)
   452         cubes = list(versions)
   452         cubes.remove('cubicweb')
   453         cubes.remove('cubicweb')
   453         return cubes
   454         return cubes
   454 
   455 
   455     @cached
   456     @cached