equal
deleted
inserted
replaced
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 |