[zope2-tracker] [Bug 461446] [NEW] zopectl: interactive mode broken (Windows only)
yuppie
y.2009 at wcm-solutions.de
Mon Oct 26 17:14:21 EDT 2009
Public bug reported:
On trunk (and I guess also on the 2.12 branch) zopectl exits after most
commands, e.g. after start, restart and stop. This is because do_windows
always returns a true value. AFAICS only 'install' needs that return
value. Here as a quick and dirty fix, but I'm sure there is a cleaner
solution:
Index: src/Zope2/Startup/zopectl.py
===================================================================
--- src/Zope2/Startup/zopectl.py (revision 105303)
+++ src/Zope2/Startup/zopectl.py (working copy)
@@ -83,7 +83,7 @@
argv=argv,
)
- return err,InstanceService
+ return (command == 'install') and (err, InstanceService)
return inner
** Affects: zope2
Importance: Undecided
Status: New
--
zopectl: interactive mode broken (Windows only)
https://bugs.launchpad.net/bugs/461446
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
More information about the zope2-tracker
mailing list