From 3634c7fe9453ca617bd56c1743dfe6750fe1ba6c Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Fri, 13 Aug 2010 13:26:35 -0500 Subject: [PATCH] Properly check branches in change requests Weren't properly checking for valid branch names when parsing change requests. --- scripts/process-git-requests/process-git-requests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/process-git-requests/process-git-requests b/scripts/process-git-requests/process-git-requests index 2025431..cd1e8e0 100755 --- a/scripts/process-git-requests/process-git-requests +++ b/scripts/process-git-requests/process-git-requests @@ -570,7 +570,7 @@ def process_change_request(bug, comment, allcomments, firstfound, pkgdb, branche warned = True if not len(items['New Branches']): warnings.append("WARNING: No new branches requested.") - for i in request['branches']: + for i in request['newbranches']: if i not in branches: warnings.append("WARNING: Invalid branch %s requested" % i) warned = True