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
663b0e0d
Commit
663b0e0d
authored
Jan 16, 1998
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug: install_products only recognized __init__.py files, not .pycs
parent
81c726ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+9
-3
No files found.
lib/python/OFS/Application.py
View file @
663b0e0d
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.
39 1998/01/15 15:16:45
brian Exp $'''
__version__
=
'$Revision: 1.
39
$'
[
11
:
-
2
]
$Id: Application.py,v 1.
40 1998/01/16 16:02:32
brian Exp $'''
__version__
=
'$Revision: 1.
40
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
regex
,
sys
...
...
@@ -178,7 +178,10 @@ def install_products():
for
product_name
in
product_names
:
package_dir
=
path_join
(
product_dir
,
product_name
)
if
not
isdir
(
package_dir
):
continue
if
not
exists
(
path_join
(
package_dir
,
'__init__.py'
)):
continue
if
not
exists
(
path_join
(
package_dir
,
'__init__.py'
)):
if
not
exists
(
path_join
(
package_dir
,
'__init__.pyc'
)):
continue
product
=
getattr
(
__import__
(
"Products.%s"
%
product_name
),
product_name
)
for
meta_type
in
pgetattr
(
product
,
'meta_types'
,
()):
...
...
@@ -254,6 +257,9 @@ class Misc_:
##############################################################################
#
# $Log: Application.py,v $
# Revision 1.40 1998/01/16 16:02:32 brian
# Fixed bug: install_products only recognized __init__.py files, not .pycs
#
# Revision 1.39 1998/01/15 15:16:45 brian
# Fixed Setup, cleaned up SimpleItem
#
...
...
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