[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Accept quit or exit from shell mode



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv13807/lib/mixminion

Modified Files:
	Main.py 
Log Message:
Accept quit or exit from shell mode

Index: Main.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Main.py,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- Main.py	28 Nov 2003 04:14:04 -0000	1.64
+++ Main.py	8 Dec 2003 06:34:58 -0000	1.65
@@ -234,7 +234,7 @@
             continue
         command = words[0]
         args = words[1:]
-        if command == 'exit':
+        if command == 'exit' or command == 'quit':
             sys.exit(0)
         try:
             #print "calling main with",[sys.argv[0]]+words