From ec558df07405d4644ea74c5a0ba61b2ee1aba09d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 5 Jul 2019 01:38:05 -0400 Subject: [PATCH] fix raise syntax This takes a single argument (the error message), not multiple arguments that get formatted implicitly. Change-Id: Idfbc913ea9f93820edb7e955e9e4f57618c8cd1b --- manifest_xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest_xml.py b/manifest_xml.py index 96286301..94d22b3c 100644 --- a/manifest_xml.py +++ b/manifest_xml.py @@ -514,7 +514,7 @@ class XmlManifest(object): raise except Exception as e: raise ManifestParseError( - "failed parsing included manifest %s: %s", (name, e)) + "failed parsing included manifest %s: %s" % (name, e)) else: nodes.append(node) return nodes