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
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
Léo-Paul Géneau
erp5
Commits
24162a72
Commit
24162a72
authored
Mar 01, 2012
by
Arnaud Fontaine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cosmetic.
parent
b692b36c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5Type/dynamic/component_package.py
product/ERP5Type/dynamic/component_package.py
+3
-3
No files found.
product/ERP5Type/dynamic/component_package.py
View file @
24162a72
...
@@ -267,12 +267,12 @@ class ComponentDynamicPackage(ModuleType):
...
@@ -267,12 +267,12 @@ class ComponentDynamicPackage(ModuleType):
recursively. This method must be called within a lock to avoid side
recursively. This method must be called within a lock to avoid side
effects
effects
"""
"""
if
sub_package
is
None
:
if
sub_package
:
package
=
sub_package
else
:
# Clear the Component registry
# Clear the Component registry
self
.
__registry_dict
.
clear
()
self
.
__registry_dict
.
clear
()
package
=
self
package
=
self
else
:
package
=
sub_package
for
name
,
module
in
package
.
__dict__
.
items
():
for
name
,
module
in
package
.
__dict__
.
items
():
if
name
[
0
]
==
'_'
or
not
isinstance
(
module
,
ModuleType
):
if
name
[
0
]
==
'_'
or
not
isinstance
(
module
,
ModuleType
):
...
...
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