[Zope-CVS] CVS: Products/ZCTextIndex/tests - mailtest.py:1.1.2.7

Jeremy Hylton jeremy@zope.com
Wed, 1 May 2002 13:45:42 -0400


Update of /cvs-repository/Products/ZCTextIndex/tests
In directory cvs.zope.org:/tmp/cvs-serv7268

Modified Files:
      Tag: TextIndexDS9-branch
	mailtest.py 
Log Message:
Make the code match the docs on name of '-i'


=== Products/ZCTextIndex/tests/mailtest.py 1.1.2.6 => 1.1.2.7 ===
     mbox_path = None
     try:
-        opts, args = getopt.getopt(sys.argv[1:], 'vn:p:m:q:')
+        opts, args = getopt.getopt(sys.argv[1:], 'vn:p:i:q:')
     except getopt.error, msg:
         usage(msg)
     if len(args) != 1:
@@ -140,7 +140,7 @@
             PACK_INTERVAL = int(v)
         elif o == '-q':
             query_str = v
-        elif o == '-m':
+        elif o == '-i':
             mbox_path = v
     fs_path, = args
     print "main"