summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2019-07-05 01:38:05 -0400
committerMike Frysinger <vapier@google.com>2019-07-05 01:38:14 -0400
commitec558df07405d4644ea74c5a0ba61b2ee1aba09d (patch)
tree5ad03b7ffe5e7b38d89c84a67ca3391cd91d66b6
parent81f5c596712c2e8c32cd9debb46a96b66d463ad4 (diff)
downloadgit-repo-ec558df07405d4644ea74c5a0ba61b2ee1aba09d.tar.gz
fix raise syntax
This takes a single argument (the error message), not multiple arguments that get formatted implicitly. Change-Id: Idfbc913ea9f93820edb7e955e9e4f57618c8cd1b
-rw-r--r--manifest_xml.py2
1 files changed, 1 insertions, 1 deletions
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):
514 raise 514 raise
515 except Exception as e: 515 except Exception as e:
516 raise ManifestParseError( 516 raise ManifestParseError(
517 "failed parsing included manifest %s: %s", (name, e)) 517 "failed parsing included manifest %s: %s" % (name, e))
518 else: 518 else:
519 nodes.append(node) 519 nodes.append(node)
520 return nodes 520 return nodes