Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Lu Xu
erp5
Commits
b010e977
Commit
b010e977
authored
Sep 15, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some typos
parent
89aa2a6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
product/ERP5Type/dynamic/portal_type_class.py
product/ERP5Type/dynamic/portal_type_class.py
+4
-1
No files found.
product/ERP5Type/dynamic/portal_type_class.py
View file @
b010e977
...
@@ -436,6 +436,9 @@ def synchronizeDynamicModules(context, force=False):
...
@@ -436,6 +436,9 @@ def synchronizeDynamicModules(context, force=False):
import
erp5
import
erp5
with
aq_method_lock
:
with
aq_method_lock
:
# bootstrap the site and perform some "critical" migrations that can not be
# performed using upgrader, because the migrations are required to run upgrader.
#
# Thanks to TransactionalResource, the '_bootstrapped' global variable
# Thanks to TransactionalResource, the '_bootstrapped' global variable
# is updated in a transactional way. Without it, it would be required to
# is updated in a transactional way. Without it, it would be required to
# restart the instance if anything went wrong.
# restart the instance if anything went wrong.
...
@@ -464,7 +467,7 @@ def synchronizeDynamicModules(context, force=False):
...
@@ -464,7 +467,7 @@ def synchronizeDynamicModules(context, force=False):
if
tool
is
None
:
if
tool
is
None
:
if
tool_class
==
ERP5CatalogTool
:
if
tool_class
==
ERP5CatalogTool
:
# Wait till we find that SQL Catalog Tool is installed
# Wait till we find that SQL Catalog Tool is installed
# Simp
y said, we don't want
ERP5 Catalog Tool to be installed
# Simp
ly said, we don't want
ERP5 Catalog Tool to be installed
# from here. So, we come to 2 cases:
# from here. So, we come to 2 cases:
# 1. Running ERP5Site with sql catalog_tool : In that case, we end up
# 1. Running ERP5Site with sql catalog_tool : In that case, we end up
# running _bootstrap from here, leading to migration.
# running _bootstrap from here, leading to migration.
...
...
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