Commit b928ac14 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[ux] display instance name in suggested upgrade command

--HG--
branch : 3.26
parent 6bcd8899f71b
...@@ -600,8 +600,8 @@ class Repository(object): ...@@ -600,8 +600,8 @@ class Repository(object):
fsversion = self.config.cubicweb_version() fsversion = self.config.cubicweb_version()
if version < fsversion: if version < fsversion:
msg = ('instance has %s version %s but %s ' msg = ('instance has %s version %s but %s '
'is installed. Run "cubicweb-ctl upgrade".') 'is installed. Run "cubicweb-ctl upgrade %s".')
raise ExecutionError(msg % (cube, version, fsversion)) raise ExecutionError(msg % (cube, version, fsversion, self.config.appid))
return vcconf return vcconf
@cached @cached
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment