[PATCH 01/21] add-committer-certs: warn if there's no signer
Felipe Contreras
felipe.contreras at gmail.com
Sun May 13 10:14:09 EDT 2012
Signed-off-by: Felipe Contreras <felipe.contreras at gmail.com>
---
add-committer-certs.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/add-committer-certs.py b/add-committer-certs.py
index 106df61..26dbd0a 100755
--- a/add-committer-certs.py
+++ b/add-committer-certs.py
@@ -72,7 +72,10 @@ with os.popen(cmd, "r") as pipe:
if not author:
print "{revision} has no author.".format(revision=revision)
continue
- signer = author_map[signer]
+ try:
+ signer = author_map[signer]
+ except KeyError:
+ print "Missing signer: {signer}".format(signer=signer)
try:
author = author_map[author]
except KeyError:
--
1.7.10.1
More information about the Devel
mailing list