fix raise syntax

This takes a single argument (the error message), not multiple
arguments that get formatted implicitly.

Change-Id: Idfbc913ea9f93820edb7e955e9e4f57618c8cd1b
This commit is contained in:
Mike Frysinger 2019-07-05 01:38:05 -04:00
parent 81f5c59671
commit ec558df074

View File

@ -514,7 +514,7 @@ class XmlManifest(object):
raise raise
except Exception as e: except Exception as e:
raise ManifestParseError( raise ManifestParseError(
"failed parsing included manifest %s: %s", (name, e)) "failed parsing included manifest %s: %s" % (name, e))
else: else:
nodes.append(node) nodes.append(node)
return nodes return nodes