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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Vivek
erp5
Commits
da5d4bdc
Commit
da5d4bdc
authored
Jan 25, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Catch NotImplementedError when importing Components from filesystem.
At most until everything has been implemented.
parent
f820ba56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
product/ERP5Type/Tool/ComponentTool.py
product/ERP5Type/Tool/ComponentTool.py
+3
-1
No files found.
product/ERP5Type/Tool/ComponentTool.py
View file @
da5d4bdc
...
...
@@ -99,7 +99,9 @@ class ComponentTool(BaseTool):
getattr
(
erp5
.
portal_type
,
content_portal_type
).
importAllFromFilesystem
(
self
,
erase_existing
=
erase_existing
))
except
AttributeError
:
# XXX-arnau: NotImplementedErrror only until everything has been
# implemented
except
(
NotImplementedError
,
AttributeError
):
LOG
(
"ERP5Type.Tool.ComponentTool"
,
WARNING
,
"Could not import %ss"
%
\
content_portal_type
)
...
...
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