cubicweb/server/repository.py
changeset 12749 ff63319a1730
parent 12567 26744ad37953
parent 12747 36d4a8ec1fb7
child 12803 bf940d5416e5
equal deleted inserted replaced
12746:5c432a7fc442 12749:ff63319a1730
   555                         fsversion = self.config.cube_version(cube)
   555                         fsversion = self.config.cube_version(cube)
   556                     else:
   556                     else:
   557                         fsversion = self.config.cubicweb_version()
   557                         fsversion = self.config.cubicweb_version()
   558                     if version < fsversion:
   558                     if version < fsversion:
   559                         msg = ('instance has %s version %s but %s '
   559                         msg = ('instance has %s version %s but %s '
   560                                'is installed. Run "cubicweb-ctl upgrade".')
   560                                'is installed. Run "cubicweb-ctl upgrade %s".')
   561                         raise ExecutionError(msg % (cube, version, fsversion))
   561                         raise ExecutionError(msg % (cube, version, fsversion, self.config.appid))
   562         return vcconf
   562         return vcconf
   563 
   563 
   564     @cached
   564     @cached
   565     def source_defs(self):
   565     def source_defs(self):
   566         """Return the a dictionary containing source uris as value and a
   566         """Return the a dictionary containing source uris as value and a