Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
52f50f3c
Commit
52f50f3c
authored
Jun 27, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No longer store state in Products._registered_packages
parent
6dd9d6ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/OFS/metaconfigure.py
src/OFS/metaconfigure.py
+3
-4
No files found.
src/OFS/metaconfigure.py
View file @
52f50f3c
...
...
@@ -14,6 +14,7 @@ debug_mode = App.config.getConfiguration().debug_mode
logger
=
logging
.
getLogger
(
'OFS'
)
_register_monkies
=
[]
_registered_packages
=
[]
_meta_type_regs
=
[]
...
...
@@ -72,10 +73,8 @@ def loadProductsOverrides(_context, file=None, files=None, package=None):
def
get_registered_packages
():
packages
=
getattr
(
Products
,
'_registered_packages'
,
None
)
if
packages
is
None
:
packages
=
Products
.
_registered_packages
=
[]
return
packages
global
_registered_packages
return
_registered_packages
def
_registerPackage
(
module_
,
init_func
=
None
):
...
...
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