[Zope-Checkins] CVS: Zope/lib/python/Zope/Startup - zopectl.py:1.3

Tres Seaver tseaver@zope.com
Wed, 7 May 2003 14:34:31 -0400


Update of /cvs-repository/Zope/lib/python/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv28301

Modified Files:
	zopectl.py 
Log Message:


  - Do what the docstring says:

    If -i is specified or no action is specified on the command line, a
    "shell" interpreting actions typed interactively is started.


=== Zope/lib/python/Zope/Startup/zopectl.py 1.2 => 1.3 ===
--- Zope/lib/python/Zope/Startup/zopectl.py:1.2	Sat Apr 12 21:56:07 2003
+++ Zope/lib/python/Zope/Startup/zopectl.py	Wed May  7 14:34:31 2003
@@ -132,6 +132,8 @@
     c = ZopeCmd(options)
     if options.args:
         c.onecmd(" ".join(options.args))
+    else:
+        options.interactive = 1
     if options.interactive:
         try:
             import readline