Fix stale use of old 'options' argument.
authorDiego Novillo <dnovillo@google.com>
Mon, 3 Dec 2012 14:53:37 +0000 (09:53 -0500)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Mon, 3 Dec 2012 14:53:37 +0000 (09:53 -0500)
An earlier patch had made the command line options a global variable
_OPTIONS, but it had not renamed all the uses of the old options argument.

* testsuite-management/validate_failures.py: Fix stale
use of 'options'.

From-SVN: r194092

contrib/ChangeLog
contrib/testsuite-management/validate_failures.py

index cc1c8df33136e6b1d8f81a3419fd4c5b4cafcfef..f7fee0e871b84e9afd7febe98f648ed113a3f302 100644 (file)
@@ -1,3 +1,8 @@
+2012-12-03  Diego Novillo  <dnovillo@google.com>
+
+       * testsuite-management/validate_failures.py: Fix stale
+       use of 'options'.
+
 2012-11-30  Doug Evans  <dje@google.com>
 
        * testsuite-management/validate_failures.py: Add support for @include,
index 483f466b040892a3de034e398bb8e7b716ad2671..d02b575a3d638e10b23405009cdff8aec1953c14 100755 (executable)
@@ -241,7 +241,7 @@ def GetNegativeResult(line):
 
 def ParseManifestWorker(result_set, manifest_path):
   """Read manifest_path, adding the contents to result_set."""
-  if options.verbosity >= 1:
+  if _OPTIONS.verbosity >= 1:
     print 'Parsing manifest file %s.' % manifest_path
   manifest_file = open(manifest_path)
   for line in manifest_file: