]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add the -n option back to getopt(); it was lost in r61521.
authorTrent Nelson <trent.nelson@snakebite.org>
Wed, 19 Mar 2008 00:41:27 +0000 (00:41 +0000)
committerTrent Nelson <trent.nelson@snakebite.org>
Wed, 19 Mar 2008 00:41:27 +0000 (00:41 +0000)
Lib/test/regrtest.py

index 3e1a5bc298f4f1a35d1d31ca897e07b12f9d9168..2212af559169ebf9c132441e02c0cd2b507cc911 100755 (executable)
@@ -211,7 +211,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, generate=False,
 
     test_support.record_original_stdout(sys.stdout)
     try:
-        opts, args = getopt.getopt(sys.argv[1:], 'hvgqxsSrf:lu:t:TD:NLR:wM:',
+        opts, args = getopt.getopt(sys.argv[1:], 'hvgqxsSrf:lu:t:TD:NLR:wM:n',
                                    ['help', 'verbose', 'quiet', 'exclude',
                                     'single', 'slow', 'random', 'fromfile',
                                     'findleaks', 'use=', 'threshold=', 'trace',