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
79375c4e
Commit
79375c4e
authored
Jul 10, 2009
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- LP #397861: exporting $PYTHON in generated 'zopectl' for fixing import issue
with "bin/zopectl adduser"
parent
efd3f474
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
doc/CHANGES.rst
doc/CHANGES.rst
+3
-0
src/Zope2/Startup/zopectl.py
src/Zope2/Startup/zopectl.py
+2
-2
src/Zope2/utilities/skel/bin/zopectl.in
src/Zope2/utilities/skel/bin/zopectl.in
+1
-0
No files found.
doc/CHANGES.rst
View file @
79375c4e
...
...
@@ -28,6 +28,9 @@ Restructuring
Bugs Fixed
++++++++++
- LP #397861: exporting $PYTHON in generated 'zopectl' for fixing import issue
with "bin/zopectl adduser"
- PluginIndexes: Added 'indexSize' to IPluggableIndex.
- HelpSys: ProductHelp no longer depends on PluginIndexes initialization.
...
...
src/Zope2/Startup/zopectl.py
View file @
79375c4e
...
...
@@ -129,7 +129,7 @@ class ZopeCtlOptions(ZDOptions):
self
.
sockname
=
config
.
runner
.
socket_name
else
:
self
.
sockname
=
os
.
path
.
join
(
self
.
clienthome
,
"zopectlsock"
)
self
.
python
=
config
.
python
or
sys
.
executable
self
.
python
=
os
.
environ
.
get
(
'PYTHON'
,
config
.
python
)
or
sys
.
executable
self
.
zdrun
=
os
.
path
.
join
(
os
.
path
.
dirname
(
zdaemon
.
__file__
),
"zdrun.py"
)
if
WIN
:
...
...
@@ -346,4 +346,4 @@ if __name__ == "__main__":
# signal handler at all.
signal
.
signal
(
signal
.
SIGCHLD
,
_ignoreSIGCHLD
)
exitstatus
=
main
()
sys
.
exit
(
exitstatus
)
exit
(
exitstatus
)
src/Zope2/utilities/skel/bin/zopectl.in
View file @
79375c4e
...
...
@@ -4,6 +4,7 @@ PYTHON="<<PYTHON>>"
INSTANCE_HOME
=
"<<INSTANCE_HOME>>"
CONFIG_FILE
=
"<<INSTANCE_HOME>>/etc/zope.conf"
export
INSTANCE_HOME
export
PYTHON
ZDCTL
=
"<<ZOPE2PATH>>/Startup/zopectl.py"
...
...
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