equal
deleted
inserted
replaced
69 def get_versions(self, checkversions=False): |
69 def get_versions(self, checkversions=False): |
70 """return the a dictionary containing cubes used by this instance |
70 """return the a dictionary containing cubes used by this instance |
71 as key with their version as value, including cubicweb version. This is a |
71 as key with their version as value, including cubicweb version. This is a |
72 public method, not requiring a session id. |
72 public method, not requiring a session id. |
73 |
73 |
74 replace Repository.get_versions by this method if you don't want versions |
74 replace Repository.get_versions by this method if you want to get versions |
75 checking |
75 from code instead of from the database |
76 """ |
76 """ |
77 vcconf = {'cubicweb': self.config.cubicweb_version()} |
77 vcconf = {'cubicweb': self.config.cubicweb_version()} |
78 self.config.bootstrap_cubes() |
78 self.config.bootstrap_cubes() |
79 for pk in self.config.cubes(): |
79 for pk in self.config.cubes(): |
80 version = self.config.cube_version(pk) |
80 version = self.config.cube_version(pk) |