Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
375c6b54
Commit
375c6b54
authored
Feb 16, 2018
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic: Use LOG() error argument.
parent
884a6b36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
product/ERP5/Document/BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+3
-4
No files found.
product/ERP5/Document/BusinessTemplate.py
View file @
375c6b54
...
...
@@ -6344,12 +6344,11 @@ Business Template is a set of definitions, such as skins, portal types and categ
temp_obj
.
getReference
(),
version
)
except
Exception
,
e
:
import
traceback
LOG
(
"BusinessTemplate"
,
WARNING
,
"Could not import component '%s' ('%s') from the filesystem
: %s
"
%
"Could not import component '%s' ('%s') from the filesystem"
%
(
temp_obj
.
getReference
(),
temp_obj
.
getSourceReference
(),
traceback
.
format_exc
())
)
temp_obj
.
getSourceReference
()
)
,
error
=
True
)
failed_import_dict
[
temp_obj
.
getReference
()]
=
str
(
e
)
else
:
...
...
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