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
27569a6c
Commit
27569a6c
authored
Aug 15, 2008
by
Stefan H. Holek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't tie installPackage to a layer.
parent
cf06e405
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lib/python/Testing/ZopeTestCase/ZopeLite.py
lib/python/Testing/ZopeTestCase/ZopeLite.py
+1
-2
No files found.
lib/python/Testing/ZopeTestCase/ZopeLite.py
View file @
27569a6c
...
...
@@ -189,9 +189,8 @@ def hasPackage(name):
'''Checks if a package has been registered with five:registerPackage.'''
return
name
in
[
m
.
__name__
for
m
in
getattr
(
Products
,
'_registered_packages'
,
[])]
@
layer
.
onsetup
def
installPackage
(
name
,
quiet
=
0
):
'''Installs a registered Python package
at layer setup time
.'''
'''Installs a registered Python package.'''
quiet
=
1
# Ignore argument
_installPackage
(
name
,
quiet
)
...
...
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