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
8c10a283
Commit
8c10a283
authored
Dec 11, 2000
by
Evan Simpson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move CLIENT_HOME creation from z2.py, add it to builtins like
SOFTWARE_HOME and INSTANCE_HOME.
parent
78b93fda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
lib/python/App/FindHomes.py
lib/python/App/FindHomes.py
+10
-1
No files found.
lib/python/App/FindHomes.py
View file @
8c10a283
...
...
@@ -85,7 +85,7 @@
"""Commonly used utility functions."""
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
import
os
,
sys
,
Products
,
string
from
Common
import
package_home
...
...
@@ -115,6 +115,15 @@ except:
sys
.
modules
[
'__builtin__'
].
INSTANCE_HOME
=
INSTANCE_HOME
=
chome
# CLIENT_HOME allows ZEO clients to easily keep distinct pid and
# log files. This is currently an *experimental* feature, as I expect
# that increasing ZEO deployment will cause bigger changes to the
# way that z2.py works fairly soon.
try
:
CLIENT_HOME
=
os
.
environ
[
'CLIENT_HOME'
]
except
:
CLIENT_HOME
=
path_join
(
INSTANCE_HOME
,
'var'
)
sys
.
modules
[
'__builtin__'
].
CLIENT_HOME
=
CLIENT_HOME
# If there is a Products package in INSTANCE_HOME, add it to the
# Products package path
ip
=
path_join
(
INSTANCE_HOME
,
'Products'
)
...
...
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