[Python-checkins] cpython (3.2): Fix issue13726: -S accepts an argument just as --start.

senthil.kumaran python-checkins at python.org
Sat Jan 14 14:08:27 CET 2012


http://hg.python.org/cpython/rev/c4919642fd25
changeset:   74389:c4919642fd25
branch:      3.2
parent:      74386:80e3b8de4edd
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Sat Jan 14 21:07:31 2012 +0800
summary:
  Fix issue13726: -S accepts an argument just as --start.

files:
  Lib/test/regrtest.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -272,7 +272,7 @@
 
     support.record_original_stdout(sys.stdout)
     try:
-        opts, args = getopt.getopt(sys.argv[1:], 'hvqxsoSrf:lu:t:TD:NLR:FwWM:nj:Gm:',
+        opts, args = getopt.getopt(sys.argv[1:], 'hvqxsoS:rf:lu:t:TD:NLR:FwWM:nj:Gm:',
             ['help', 'verbose', 'verbose2', 'verbose3', 'quiet',
              'exclude', 'single', 'slow', 'random', 'fromfile', 'findleaks',
              'use=', 'threshold=', 'trace', 'coverdir=', 'nocoverdir',

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list