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
5e7032bf
Commit
5e7032bf
authored
Nov 26, 2001
by
matt@zope.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change initial example population to not verify the import; users haven't
been set up yet.
parent
af61e746
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+3
-3
No files found.
lib/python/OFS/Application.py
View file @
5e7032bf
...
...
@@ -84,8 +84,8 @@
##############################################################################
__doc__
=
'''Application support
$Id: Application.py,v 1.17
2 2001/11/26 18:42:03 evan
Exp $'''
__version__
=
'$Revision: 1.17
2
$'
[
11
:
-
2
]
$Id: Application.py,v 1.17
3 2001/11/26 20:14:24 matt
Exp $'''
__version__
=
'$Revision: 1.17
3
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
sys
,
App
.
Product
,
App
.
ProductRegistry
,
misc_
import
time
,
traceback
,
os
,
string
,
Products
...
...
@@ -444,7 +444,7 @@ def initialize(app):
hasattr
(
app
,
'_Zope25_examples_have_been_added'
):
examples_path
=
os
.
path
.
join
(
Globals
.
data_dir
,
'Examples.zexp'
)
if
os
.
path
.
isfile
(
examples_path
):
app
.
_importObjectFromFile
(
examples_path
)
app
.
_importObjectFromFile
(
examples_path
,
verify
=
0
)
app
.
_Zope25_examples_have_been_added
=
1
get_transaction
().
note
(
'Added Examples folder'
)
get_transaction
().
commit
()
...
...
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