W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2009

validator/misc/testsuite harness.py,1.3,1.4

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 16 Nov 2009 18:31:14 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NA6M6-0004Gr-KB@lionel-hutz.w3.org>
Update of /sources/public/validator/misc/testsuite
In directory hutz:/tmp/cvs-serv16384

Modified Files:
	harness.py 
Log Message:
Fix --help.

Index: harness.py
===================================================================
RCS file: /sources/public/validator/misc/testsuite/harness.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- harness.py	16 Nov 2009 18:00:48 -0000	1.3
+++ harness.py	16 Nov 2009 18:31:12 -0000	1.4
@@ -69,7 +69,7 @@
             opts, args = getopt.getopt(argv[1:], "ho:vq", ["help", "verbose", "quiet", "id=", "validator=", "validator_uri="])
             for (opt, value) in opts:
                 if opt == "h" or opt == "--help":
-                    raise Usage(msg)
+                    raise Usage(help_message)
         except getopt.GetoptError as err:
             raise Usage(err)
     
Received on Monday, 16 November 2009 18:31:16 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:40 UTC