9842 verifyXML line 73 and 78 missing %s in "Can not open:" errors Build119
authorEthan Quach <Ethan.Quach@sun.com>
Tue, 14 Jul 2009 02:04:26 -0700
changeset 569 d964ecd48a8b
parent 568 3e2afa551e25
child 570 7e0e45dbc08e
9842 verifyXML line 73 and 78 missing %s in "Can not open:" errors
usr/src/cmd/ai-webserver/verifyXML.py
--- a/usr/src/cmd/ai-webserver/verifyXML.py	Tue Jul 14 01:57:27 2009 -0700
+++ b/usr/src/cmd/ai-webserver/verifyXML.py	Tue Jul 14 02:04:26 2009 -0700
@@ -70,12 +70,12 @@
 	try:
 		relaxng_schema_doc = lxml.etree.parse(schema_f)
 	except IOError:
-		raise SystemExit(_("Error:\tCan not open:" % schema_f))
+		raise SystemExit(_("Error:\tCan not open: %s" % schema_f))
 	relaxng = lxml.etree.RelaxNG(relaxng_schema_doc)
 	try:
 		root = lxml.etree.parse(data)
 	except IOError:
-		raise SystemExit(_("Error:\tCan not open:" % data))
+		raise SystemExit(_("Error:\tCan not open: %s" % data))
 	except lxml.etree.XMLSyntaxError, e:
 		return e.error_log.last_error
 	if relaxng.validate(root):