cubicweb/server/repository.py
branch3.26
changeset 12747 36d4a8ec1fb7
parent 12240 8eb15566142f
child 12749 ff63319a1730
equal deleted inserted replaced
12728:6bcd8899f71b 12747:36d4a8ec1fb7
   598                         fsversion = self.config.cube_version(cube)
   598                         fsversion = self.config.cube_version(cube)
   599                     else:
   599                     else:
   600                         fsversion = self.config.cubicweb_version()
   600                         fsversion = self.config.cubicweb_version()
   601                     if version < fsversion:
   601                     if version < fsversion:
   602                         msg = ('instance has %s version %s but %s '
   602                         msg = ('instance has %s version %s but %s '
   603                                'is installed. Run "cubicweb-ctl upgrade".')
   603                                'is installed. Run "cubicweb-ctl upgrade %s".')
   604                         raise ExecutionError(msg % (cube, version, fsversion))
   604                         raise ExecutionError(msg % (cube, version, fsversion, self.config.appid))
   605         return vcconf
   605         return vcconf
   606 
   606 
   607     @cached
   607     @cached
   608     def source_defs(self):
   608     def source_defs(self):
   609         """Return the a dictionary containing source uris as value and a
   609         """Return the a dictionary containing source uris as value and a