Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
ff63319a1730
Commit
8d94ba37
authored
Oct 18, 2019
by
Nicolas Chauvat
Browse files
Merge 3.26
parents
5c432a7fc442
9fa65579520f
Changes
2
Hide whitespace changes
Inline
Side-by-side
cubicweb/cwctl.py
View file @
ff63319a
...
...
@@ -47,7 +47,7 @@ from cubicweb.toolsutils import Command, rm, create_dir, underline_title
from
cubicweb.__pkginfo__
import
version
as
cw_version
LOG_LEVELS
=
(
'debug'
,
'info'
,
'warning'
,
'error'
)
DBG_FLAGS
=
(
'RQL'
,
'SQL'
,
'REPO'
,
'HOOKS'
,
'OPS'
,
'SEC'
,
'MORE'
)
DBG_FLAGS
=
(
'RQL'
,
'SQL'
,
'REPO'
,
'HOOKS'
,
'OPS'
,
'SEC'
,
'MORE'
,
'ALL'
)
# don't check duplicated commands, it occurs when reloading site_cubicweb
CWCTL
=
CommandLine
(
'cubicweb-ctl'
,
'The CubicWeb swiss-knife.'
,
...
...
cubicweb/server/repository.py
View file @
ff63319a
...
...
@@ -557,8 +557,8 @@ class Repository(object):
fsversion
=
self
.
config
.
cubicweb_version
()
if
version
<
fsversion
:
msg
=
(
'instance has %s version %s but %s '
'is installed. Run "cubicweb-ctl upgrade".'
)
raise
ExecutionError
(
msg
%
(
cube
,
version
,
fsversion
))
'is installed. Run "cubicweb-ctl upgrade
%s
".'
)
raise
ExecutionError
(
msg
%
(
cube
,
version
,
fsversion
,
self
.
config
.
appid
))
return
vcconf
@
cached
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment